05-12-2021 07:03 AM
I am using NI cDaq 9178 with NI 9235 strain gauge modules. I have a total of 32 channels of strain gauges. However, in the Select signals it shows only Signals 0 to signals 7. I looked at "https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MnlSAE&l=en-GB" and accordingly run the VI before configuring Select Signals, and it still shows signals only up to 7. I am attaching here my set-up file. Could you please tell what am I doing wrong?
05-12-2021 07:42 AM
Hi Ssurya,
@Ssurya13 wrote:
Could you please tell what am I doing wrong?
05-12-2021 08:43 AM
I am sorry to say that I am new to Labview. I use ExpressVIs as it is simple. The example here "https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MnlSAE&l=en-GB" also used ExpressVI, and they could select more than 8 signals. Then why can't I select using my VI?
I had attached my .vi before. Here I am attaching another vi.
Thanks
05-12-2021 10:50 AM - edited 05-12-2021 10:50 AM
Here's a thought. Have you tried to run that VI once before selecting some signals?
I know some Express VI's don't know what kind of data they are dealing with until they've gotten them once. Particularly VI's that deal with that blue "dynamic datatype wire".
As Gerd said, using ExpressVI's was the first mistake. (Not all are bad). But Express VI's and the blue DDT wire are related. They can make things easy for a beginner, but they also hide so much in the background that they don't always do what you want them to do and it is hard to know why.
My theory is the Express VI is defaulting to 8 signals. Perhaps when you run it will know there are more.
I don't understand why you are putting a Select Signal immediately after a Split signal. The split signals is already select one and only one signal based on the order that they go into it.
You'd be better off if you learned read DAQmx functions and use the waveform datatype. At the very least, use a From DDT Express VI right after the DAQ assistant to turn the blue wire into an array of waveforms. Then you can use regular array functions and loops to pick out the waveforms you want to select.