03-19-2012 06:42 PM
Hi everyone
I am using USB6009 data acquisition device to read the voltage and use this reading to control a case structure in order to carry out certain tasks. I gave the case structure 3 cases, they are 0,1 and 2, so when the voltage is read to be 0, the case structure does something, and when the voltage reading is 1, the case structure does something else, same to case 2.
However, when I tried to connect the DAQ Assistant to the Selector terminal of the case structure, the case structure does not take the data type (BLUE DASH LINE) from the DAQ Assistant. The number in the selector lable becomes red.
But when I tried to connect a Double data type slider to the selector terminal, the selector lable automatically changed to 0 and 1. It takes Double Data type, and the case structure respond to the change of the slider as I change the value of the slider.
Is there a way to convert the BLUE DASH LINE data type to a Double data type (orange line)? Or is there a way to make the case structure to respond to the data type(BLUE DASH LINE) from the DAQ Assistant? Or is there a way to change the output data type of the DAQ Assistant to Double?
I have attached the VI to this post.
Thank you very much
Tommy
03-19-2012 07:16 PM
03-19-2012 09:02 PM
03-20-2012 06:22 AM
Thank you very much Mike.
I did not know that help context can tell me what data type the wire is. The VI works perfectly now.
Tommy
03-20-2012 08:12 AM