From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-10-2015 04:53 AM
Hi
I attach the screenshot where the instruments are initialized and (in example), the vi where the DMM is controlled. The DMM is one of the instruments that used to lost the session.... but it happens randomly.... I mean, I can not find a patrol that generates this error....
Any clue?
03-10-2015 11:10 AM
03-10-2015 12:32 PM
I did it, but the message does not give me too much info.
I attach a screenshot of the last one.
03-11-2015 05:26 AM
Hi,
this error occurs when the name od the device you are using in LV does not match with the name in the MAX.
I recomend you to reconfigure your device!
Kudos are Welcome 😉
03-11-2015 08:41 AM
03-12-2015 11:02 AM
Hi!
could you show me an example of "a shift register that holds the references and an unbundle by name in the cases where you need them"
Also about the state machine.
I have check the code, and I think that I only initialize the session handle at the beginning of the process, so I son't know where can be a conflic between local and global variables... any idea?
All the best and thank you very much for your help!!
03-12-2015 12:52 PM
04-14-2015 01:58 AM
Hi,
Just found this thread when I was about to post my question.
I am operating the TDK power supply thorugh labview using ivi drivers.
I am also facing same issue. Sometimes I am facing the error "Session handle is not valid: .This error comes randomly so I am unable to track the root cause.
Logical name given in the VI is exactly same as mentioned in MAX. Also power supply is connected over LAN to test system.
My code is also not so complex. its a single VI weherin i am setting voltage and current after initialize with options .vi
Not able to understand the cause of this error.
Does it affect when we remove LAN connections of the power supply from a network and then reconnect it?