10-25-2012 08:59 AM
Hi! I am doing a replacing work in the Labview program which is mainly replacing the missing VIs to the new NI-USB 6216(DAQ Assistant). The problem comes out with the connection due to I am pretty new in Labview and the instrument. I have found the first question is that I don't know what to connect to DAQ assistant therefore I just connected the way I felt. When I try to connect 'data' to the 'case structure', the error says the type is different, one is 1D array another is VISA session. So could anyone help me with it and tell me what to do about it?
P.S. I have attached the file in the attachment.
Thank you.
10-26-2012 02:12 AM
Hi s111170.
I'm not sure I completely understand your question. However, it seems like you are trying to use our DAQ Assistant and connect the task from that function, into your missing VI's.
The missing VI's are named 'hp34970a Switch.VI'. This is an instrument driver for an Agilent instrument, which uses our VISA-driver to communicate with instruments. The DAQ Assistant is using our DAQmx drivers, so it does not make sense to try and mix these.
You can find the missing functions using our NI Instrument Driver Finder. Go to Help => Find Instrument Drivers => Pick Agilent from the drop down list => Type in hp34970a => Hit the search button. Only one instrument will appear. Click on the install-button.
Let me know if I can assist you any further?
10-29-2012 06:40 AM
vHi,Alex. I am not going to use the hp34970a in my main.VI, because of the replacement and requirement of my task. Therefore I was told to replace the hp34970a Switch.VI into DAQ assistant, which means that I am going to use NI-box to trigger the relay(I am goint to connect.) And I don't know actually how to do that, how to program the DAQ in my main.Vi
Thank you.
Best regards
s111170
10-29-2012 07:37 AM
10-29-2012 07:45 AM
Maybe I didn't make myself clear, I have extra relays placed in the control box, which I will use DAQ to control that.
10-29-2012 09:41 AM
You would need to configure the DAQ Assistant for all of the digital outputs and pass it an array or use a DAQ Assistant for each digital output.