hi ,
I am trying to read a multiple AIN , and the example is fantastic and its work very well, but the problem is i need more than 4 input and in the sample there is only 4 in put in array channels, so the question is how can i add more input to this array ? in addition a have a CB37 Terminal Board to get more AIN input. i use labjack t7 pro
many thanks
Quick answer: In your screenshot the array is showing 6 elements. The first 4 elements are "AIN0", "AIN1", "AIN2", and "AIN3", and then the last 2 visible elements are empty. You can simply type any register names you want into those elements. You can also drag at the corner to expand the control so it shows more elements.
Complete answer: This is really just a LabVIEW question, nothing specific to LabJack. I suggest going through some tutorials to learn more about arrays in LabVIEW. The following looks good:
http://www.ni.com/white-paper/7571/en/
many thanks,
i want to add a servo to this project, i just want to control it by close/open. and im lost can any one help me
Do you have a servo picked out? What sort of signal/power does it need to close or open?
for example
i have a water level sensor and its range from 0 to 4, what i need that when i reach 4 send a signal to close the servo
many thanks
When you say "send a signal to close the servo", we need to know what sort of "signal" you are talking about. Do you have a servo picked out? What sort of signal/power does it need to close or open?
HI ,
Yes ,servo picked out .
What sort of signal/power does it need to close or open? Perhaps post a link to electrical specifications.
JUST 0/1
Hi ,
i have another problem , i try to add AIN 4 to the channel array , and its work perfect but when i close the program and open it again it disappear
many thanks
I am afraid 0/1 has meaning in the virtual computer world, but in the electrical world 0 & 1 can mean many different things. Without electrical specs we really have no idea what sort of control signal your servo needs.
If you want to try with a digital output, connect the desired DIO & GND to your servo, then use the Dashboard in Kipling to set it to Output-High and Output-Low and see if the servo acts as desired.
Look at our example "Stream Basic.vi". It has some LabVIEW tips for
array operations on the front panel:
To remove an element, right-click
on it, select Data Operations =>
Remove Element.
To empty an array, right-click
near the edge, select Data
Operations => Empty Array.
Other useful operations: From the
Operate menu are "Make Current
Values Default" and "Reinitialize
To Default".
Also, I did a google search and found the following from NI:
http://digital.ni.com/public.