05-04-2017 01:22 PM
I have a session that contains 3 signals that are from the same frame. The session is going through a state machine. At one state I need to read one signals and at another state I need to read two other signals. The first read does well but when I reach the second read I get the following error.
NI-XNET: (Hex 0xBFF6308F) The function you called is not defined for the session mode (e.g. you called a frame I/O function on a signal I/O session).
Can I read the same session multiple times throughout my VI?
Solved! Go to Solution.
05-04-2017 02:05 PM
You can read from the same session as many times as you want. You can put the reads in loops, do them serially, or put them in subVIs.
Is the aforementioned session the only session that is in the state machine? What type of session is it? If you have multiple sessions in your state machine you are likely getting the session references mixed up during state transitions.
05-04-2017 02:16 PM
Hi Jefel,
it looks as if my session is entering the shift register as one session ____xnetSesn#0000002
and it re-enters the shift register at the next state as ___xnetSesn#000001 is there a reason for this?