GPIB interrupts Linux process in telnet

1. TestStand uses LabView to start a Linux process in a telnet window with a given session id.
2. TestStand uses LabView/ to send GPIB commands to an instrument.
3. Linux process seems to disappear, discontinuing output.
4. Upon referencing the telnet with the given session id the Linux process output resumes.
Are there known problems with VISA sessions conflicting?

Windows is running NI-488.2.2.20 and NI-VISA 3.2f1. Linux is accessed only through telnet sessions from LabView/TestStand.
The basic scenario is a Linux process is started from a telnet session in LabView/TestStand on the Windows machine that continually logs to a file. While this process continues to run, a USB to GPIB connection on the Windows machine to a switching instrument is activated through a LabView vi. Next the telnet session is again invoked through its session id. Upon checking the log file from the initial telnet start, there is a gap in it from the time the GPIB connection was made to the time the telnet is reactivated. The gap does not occur when the switching instrument is not accessed, so I am led to believe that the GPIB connection is having some effect on the log process, though it is difficult for me to imagine how.
Some things I have tried:
Running the Linux process in the background does not seem to make a difference, though starting it with the "nohup" command (for no hangup) does keep the log running; all telnet output then goes to the file nohup.out which is not really what I want to happen.
Some things I can try:
Serial instead of GPIB to the switching instrument.
I understand that this is a pretty obscure situation and problem. Thanks for taking a look at it.
Jim Smith

Similar Messages

  • Unix/Linux Process Monitoring

    When I attempt to run the add monitoring wizard in Operations Manager 2012 R2 against the unix/linux process monitor I receive the following error :-
    Date: 12/02/2015 11:55:23
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message:
    Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UISDKException: The page [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate.ProcessDetailsPage] in the assembly [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate,
    Version=7.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] could not be loaded. Please make sure that the account you are running under has sufficient privileges to load the given assembly, or the Management Pack that defines this page is installed
    or the assembly containing the page is in the path of the executable or that the page derives from known Operations Manager page type. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions
    property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.GetPages()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomTemplatePagesManager.GetPages()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.PageManagerBase.AttachToFramework(IPageFramework pageFramework, Boolean readOnly)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Pages.TemplateListPage.AddPagesForSelectedItem()
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
    I receive this in my test lab and in a live environment. Both environments are running Operations Manager 2012 R2 and I have imported the latest management packs which are 7.5.1042.0.
    I am full administrator at the server and operations manager level. So what is it I am missing?
    Thanks.

    Agree with Steve, Upgrade to last UR, This issue is related to Management Pack so that Check correct version of Management Pack which is compatible with SCOM 2012R2
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • Interrupted upgrading process of database to 3.1

    Hi guys,
    I am new to this forum but have solved many of my problems by just reading through some topics, thanks.
    I got interrupted the process while upgrading the database to version 3.1 when opening it, computer shut down. Since then by opening the effected database the screen shows "Warning, error when opening......" and can only quit. I tried by open another database, which converted fine, and to switch to the effected one, now a message shows "Upgrading Step 6 of 10" and is shows an ongoing activity, under Force Quit no error message - the application seems to run, but I am still able to continue other work in the opened database. That message "upgrading' already runs quite a while, either it takes that long or simply not doing anything?
    I tried the repair database function, but it wants to finish the upgrade first? Any ideas? Unfortunately I have no backup of this file. Would appreciate some help, thanks.
    Cheers
    Rene

    Problem solved by miracle? Just a quick update:
    - downgraded Aperture to version 3.03 (same as last version of effected library file), executed "Repair function" (option/command keys when opening) started with 1st option, was prompted to 2nd option and then prompted to last option of full rebuild. Run that but not much changed overnight.
    - upgraded next day Aperture back to 3.1 and thought simply to try again. This time when opening it attempted to finish the remaining "upgrading to 3.1" steps but ended with an error message "being corrupted". Opened again in repair mode (option/command key pressed) and started again with 1st option, got prompted to 2nd option - after that it just stopped and quit itself. Reopened again in repair mode, selected last option to complete rebuild - and finally it started rebuilding the library file and completed in about 10min (50GB). Now I can access it again.
    - tried to import projects directly from this effected library file into a new library file, but it could not read the current version of that library - so it is clear even after the rebuild it somehow still is not 100%. However it is can be accessed.
    - as a precaution (also advised by apple support), will now export all projects from this effected file and simply rebuild a new database file.
    - learned also from apple support that even the corrupted files can be read, select the library file from your finder window, right mouse click and choose "Show Package Contents". Now at least you get access to your original pictures stored previously in your library file - look for folder "Masters". This may be your last option if all attempts to repair would fail, with the exception of having access to your original pics all other work is lost. At least one gets to rebuild his library manually.
    Hope this may give anyone other option besides the ones already known...
    Cheers
    Rene

  • GPIB for Linux

    We are in the process of upgrading our Window OS platform to LINUX.  In so doing we have several systems configured with the NI PCIe-GPIB/LB circuit card 780575-01 which comes with Window/XP GPIB Drivers. 
    The question to the forum (NI) is whether it is possible to upgrade to LINUX with these existing 780575-01 circuit cards by down loading the LINUX driver or is there a hardware change to the existing systems.  Order information for the NI PCIe0GPIB/LB identifies a 779779-01 part number for the LINUX version, however I'm assuming this part number is the same hardware platform but includes the CD for the LINUX driver instead of the Window/XP drivers?  Is this a safe assumption and true?
    Thanks

    NI 488.2 Linux driver is available in http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:du,n19:Linux,n8%3A3.2... Please make sure that your Linux distribution supports by this driver.

  • Linux Process on Database Server

    Hi all,
    I´ve created a shell script on the Linux server (Red Hat 9) with Oracle 9i.
    This shell script call the sqlplus and it performs some SQL commands.
    I start the shell script using Putty tool. The network is with some
    problems. When the network falls, the shell script process on Linux
    falls too. Why? The process is local, on server.
    thanks!!!!

    This is not an Oracle question.
    Every Unix process has three files associated: stdin, stdout, and stderr: standard input, standard output, and standard error.
    Standard input in a terminal session is your keyboard, standard output and standard error is your terminal screen.
    If the connection is interrupted Unix won't be able to deliver any output, so the process is killed.
    You either need to make sure the network problems are adressed, or you run the script using cron or better still: Oracle Enterprise Manager.
    Sybrand Bakker
    Senior Oracle DBA

  • Interrupt workflow process in process controlled workflow

    Hello experts,
    In a custom requirement, we need to interrupt the workflow process.
    For example, if we have 4 levels of approval. After the 2nd approver has approved the shopping cart, then the workflow process should be kept on hold. Based on a custom interface result, if the condition from another interface is satisfied, then the shopping cart should appear in 3rd approver's UWL.
    I tried with triggering interrupt method of class /SAPSRM/cl_wf_apv_facade in save BADI of shopping cart. But it did not work.
    Please let me know how can i interrupt the workflow process till some custom condition is satisfied.
    Regards,
    Yayati Ekbote

    Quite often this kind of requirements can be fulfilled by using wait steps in the workflow. One example could be that you put a "wait for event" step in your workflow template. Then you could trigger this event from your interface (or whatever) with function module SAP_WAPI_CREATE_EVENT.
    Maybe I should ask that how do you know that the condition has been fulfilled? Is it a field in a certain table, or? If yes, instead of the "wait for event" step, you could also wait that your condition is fulfilled (a field in your table gets value X). Just take a look into the workflow template and its step types. Wait step is the way to go.
    Of course it might be possible that in the SRM/shopping cart workflows, there is already something built-in, which can be then utilized by using some of the BADIs, but if you cannot find anything from the documentation, then choose one of the above-mentioned approaches.
    Regards,
    Karri

  • How to interrupt a process ?

    I have started a process to transfer files from my pc to my imac and it seems to be blocked. Howcan I interrupt it ?

    It's best to let it run, however you can always Quit Migration Assistant or if you have to Force Quit it.

  • Interrupting a process involving an infinite loop

    I am using a JInternalFrame, with a JSplitPane, and panels within the SplitPane. My application involves the server continuously listening to a port.
    When this happens, I am not able to STOP the process (the while(true)) loop, the buttons do not respond, and the JInternalFrame freezes. During this time, if I switch from this application to another application (while the processing is on), the controls disappear, and I am not able to view anything, until an OptionPane (which I have used to indicate the completion of an event0 appears.
    Ideally, a user must be able to QUIT the application whenever he/she wants to, but my application does not allow the user to do this.
    Please can anyone suggest a way out of this???
    Thanks in advance :-)
    p.s. : I hope the information I provided is sufficient to help reply to my query...... :-?

    Thanks for your help, but please could you explain
    the solution better?
    I am not using threads in my program..............
    Then, why is it giving a problem?
    Is it because the server is listening to a port in an
    infinite loop, and that blocks all other processes,
    even prevents me frmo exiting the application!!! Is
    there any way out of this? I mean, can I interrupt
    the server listening to the port, and if so, how can
    this be done????The problem is that you have a loop in your program that is running on the EDT. That loop is hogging 100% of the CPU, preventing anything else from running.

  • Cleaning up obsolete interrupts in process chain

    Hi Everyone,
    We have just recently started using process chains to manage our forecasting solution. We use Interrupt Processes to wait for triggers from external systems. However, recently we've had a problem wherein certain interrupts no longer wait for the triggers and just continue to the next process.
    When we checked the table RSPCINTERRUPTLOG, we found several Interrupt entries do not have an associated LOG-ID and INSTANCE-ID. We suspect that this is what's causing those interrupts to just go through without waiting for the correct triggers.
    Would anyone know any standard program/report or process that can clean up / re-initialize this table?
    Thanks,
    Chasky Bolido

    Hi Im a coworker of the original poster,
    Our process chains are always scheduled and active daily but decision logic will end the chain for weekends. The interrupts are waiting for an external event and these are sent daily from another BI system. But it seems due to the reason that the chains are partially active in the weekends (ending with the decision logic before the interrupt process) and the external triggers are received daily, the events register and the next run of the interrupt process will not wait for the new event.
    Are there ways to clean up the registered events?
    Thanks,
    Ram G.

  • Accessing remote sybase database on unix/linux machine thru telnet

    How can i access a sybase database server thru telnet....using java code. i am writing a client for windows...Also the Sybase server is on a unix or linux machine.............please elp me out ...its urgent..

    Why do you want to access it through telenet.
    If you want to access/manipulate data in the database use JDBC with a driver for Sybase (Which you will be able to find if you do some googling)

  • Running a linux process from java

    hi,
                   Process child = Runtime.getRuntime().exec("top -n 1 | grep Cpu");
                   // hook up child process output to parent
                   InputStream lsOut = child.getInputStream();
                   InputStreamReader r = new InputStreamReader(lsOut);
                   BufferedReader in = new BufferedReader(r);
                           line = in.readLine();If i run the command (top -n 1 | grep Cpu) on linux box it gives a line output. When i run the above prog( which also runs the same command) on the same linux machine the line is always read as null.
    not sure where i m doing mistake. Please help.
    --ravi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    [email protected] wrote:
    it still doesnt work. I also tried the below way still no luck
    Process child = Runtime.getRuntime().exec(new String[]{"bash","-c","top -n 1","| grep Cpu"});Compare this with the code you've been given above. It's NOT the same.
    Also: Why not leave the "grep" out and manually filter the input you get in your program? Then you don't need to worry about the shell and a simply "grep" is easily implemented in Java.

  • NI PMC-GPIB on Linux kernel version 3.11.10 (Fedora 20)

    Can the NI PMC-GPIB run on Linux kernel version 3.11.10 (Fedora 20)?
    The linux OS is a hard requirement.
    Thanks

    Hey Terry_ALE,
    This card uses NI 488.2, and there are several supported versions of Linux, but Fedora 20 isn't one of them. That being said, I found another forum post where some users were able to get it to work.
    The list of compatible Linux versions can be found here, and the forum with the workaround for Fedora can be found here.
    I've also got to throw in the standard disclaimer with this advice: This is not a supported use case and any issues that arise from this configuration would be unsupported.
    Hope this helps, and good luck iwth your application!
    Tanner B.
    Applications Engineer
    National Instruments

  • GPIB/ENET+Linux : Ethernetconfig always returns "No device"

    OS LInux 2.4.7 (distribution RedHAT 7.2 )
    If I connect the GPIB/ENET on my config (config 1 : Compaq Pentium 4, linux2.4.7), Ethernetconfig returns no device
    I tried on an other config (config 2 : Dell - Pentium 4 - Linux 2.4.2 - Redhat 7.1) , Ethernetconfig finds the device
    So on config2, I can confgiure IP address and mask correctly
    Then I put the GPIB/ENET again on the config1
    I can ping it, I can use it (with ibic utility), but EthernetConfig still returns no device
    Is there some instructions to install Redhat 7.2 ?
    What can I check ?
    Thank ou for cooperation

    The ENET/100 has reset button, which if pressed for more than 3 sec reassigns the address. Refer to http://www.ni.com/pdf/manuals/320528b.pdf for ENET and http://www.ni.com/pdf/manuals/322989a.pdf for ENET/100 these manuals are for Solaris but they should give a idea how the ENET's are to be configured. The ENET have a unique ethernet address which is labeled at the back.

  • How to interrupt MDB processing

    Hi
    We have a problem with web service call from MDB. Due to some network problems the call can hang for 30 minutes and any no way of setting timeout on JAX-WS port nor sun.net works. Whats more there is a silent transaction timeout on JTA (with no exception) and when web service call returnes after such a long time with success, the message is rolled back to JMS queue.
    I wonder if there is any wat to set timeout on MDB processing that would casue exception and let us control this behaviour. When there is more messages like described above it causes our queue processing to stall and gives us real headache !
    please help

    Thank you a lot for replies
    You both are right.
    As we went down to implementation details it appeared that there is no way (at lest not brutal way) to stop MDB processing. I believe that fiddling with threads in appserver environment is asking for troubles, so I decided to find the source of first problem: no timeout to WS processing.
    To our suprise it was caused by... migration from NetBeans 6.5 to 6.7. Somehow build scripts were affected and some jars were added to ejb jar, which were not there while using NB 6.5. Some of these jars were JAX-WS jars.
    It seams that timout does not work when using JAX-WS shipped with NB 6.7 but there is no problem using libraries shipped with Glassfish 2.1.
    When we removed JAX-WS from our deployment we got controls of timeouts back in our hands.
    thank you again

  • Parse errors in ib_linux.h when I try to compile C code for GPIB in Linux.

    Keep getting parse errors starting at line 63 of ib_linux.h when I try to compile C code linked
    to the drivers. Using ver 0.6 driver, compiling using gcc name.c cib.o -o name, and I have
    ugpib.h as an include in the c code. The Linux box currently has the 2.2 kernel running.
    Any ideas?

    Hello-
    It shouldn't be necessary to compile by hand. After the 0.6 driver is untarred, there should be an INSTALL script to run. Be sure to "su" to have root permissions before running this script. It may also be necessary to "chmod" the INSTALL file before doing a "./INSTALL"
    Randy Solomonson
    Applications Engineer
    National Instruments

Maybe you are looking for