LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

niHSDIO error in labview 8.2. error in niHSDIO Get Session Reference.vi

I get an error in the niHSDIO Get Session Reference.vi. 
the error is on the wire from refnum to the refnum input of the register session function.  It says "This wire connects to a polymorphic terminal that cannot accept this datatype."
 
 
I've installed all the required drivers of the latest version:
visa 3.4
ivi compliance package 2.5
NI-DAQmx83
NIHSDIO 1.4.2
measurement and automation 4.1
 
I still get this error.
thanks
kevin
 
0 Kudos
Message 1 of 5
(3,198 Views)
Kevin,

please verify that the error occurs within the blockdiagram i attached. If it does, verifiy that the RefNum is set to "Session Reference". You can do that by rightclicking on the constant, select "Select Session Reference Class" >> "Session Reference".
Another point is that the instrument handle you are passing to this VI has to be valid. If not, it should create error "-1073807346". But as you know: better check twice 🙂

Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,191 Views)

Norbert B.

Thank you for your response.  I did as you suggested but "Select Session Reference Class"  is greyed out.  I'm calling this vi from the niHSDIO Close vi, which is being called by one of my vi's.  it is the only error that shows up the the program.  to verify the error is within the niHSDIO Get Session Reference vi I opened just it.  and I get the error.  I attached a screen shoot od the error.   this was a vi in the HSDIO 1.4.2 lib. 

i'm on windows xp, labview 8.2.

thank you for your help

Kevin

 

0 Kudos
Message 3 of 5
(3,185 Views)
Kevin,

i have HSDIO 1.4.3.2 installed. This version is shipped with the driver CD August 2006, so if you have the chance to get one, this propably can solve your issue.
Nevertheless, i attached my "niHSDIO Get Session Reference.VI" to this post.

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 5
(3,168 Views)

Norbert,

Thank you very much for the Get Sessions Reference vi.  When I opened it up on my laptop I no longer get the error.  I will get the HSDIO 1.4.3.2  driver in case there are other updated vi's that i'll need.  but i can now move out on the project today becasue you sent the current vi.  thanks again for your help.

kevin


 

0 Kudos
Message 5 of 5
(3,155 Views)