Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
01-18-2024 07:44 AM
Hello,
I hope I am correct here with my problem.
My team got the Keysight DAQ970A measurement system with 3 DAQM909A modules.
I am new in labview programming and my english isn't perfect. Sorry for that.
Maybe you can help me.
The Device is connected via USB and in NI Max I can communicate with it.
I use Labview 2023 Q3 and the drivers should be the new ones. (got them the day before yesterday)
I try to measure VDC. With the local options I can do that. But in remote with labview not.
The most problems I could solve except one. +308
Like you see below:
I said Channel: 101
I tried many changes step by step but the correct one wasn't inside.
I see three options:
1: I didn't programm this correctly.
2: the module isn't able to measure VDC with the available Keysight VIs.
3: the module isn't able to measure VDC.
What can I do to solve this problem?
Thx.
01-18-2024 11:19 AM
Your code doesn't look like you are trying to measure voltage. You have it set up to measure strain and then read frequency. That module can only measure voltage, which is why you are getting an error.
1. Move all of the initialization code (measurement setup) to before the loop. There is no reason to keep setting it up.
2. Use the Configure Acquisition.vi to set up a voltage measurement. There are other inputs for setting the range and number of points to acquire.
3. Use Read Multiple Measurements.vi to read all of the samples you told it to acquire from the configure.
4. Make sure you close the VISA session after the loop.
01-19-2024 01:54 AM
Hi,
very big thank you. I thought I got every vi that is possible to use but I missunderstood the "configure acquisition.vi".
And the whole time I didn't got what strain acquisition is. I found a person who had a very good idea for it.
I made what you said an the +308 code is away but now I get a new one that is unlogical to me... I looked step by step for the position and deleted everything that is blue. I changed the measurement from data to every other option but it doesn't help...
Any idea about this one?
And I am wondering why the error message doesn't show up in the front panel. Only if I create it I can see it. After running one time it is away and doesn't come back. Error code also. I tried to put it outside the while loop but that doesn't work too.
01-19-2024 08:15 AM
If you dive into the supplied VIs, you will see that they are checking for an error after their action. So you don't actually need to do that.
From the error pop-up, we see the Call Chain, which is telling us you have an error with the Configure Acquistion. But I'm not seeing anything wrong with the command the VI should be creating. Maybe you could try just a single channel and make sure nothing else is in the string control such as spaces, tabs, and other non-printable characters.
01-22-2024 05:18 AM
I know that I don't need it but I wanted to have it. But it is okay. Maybe I get a solution myself.
I can't solve the Problem at the moment.
I comunicate with Keysight directly and got a clue.
I am using another driver. The actuel Vis are red.
The Vis that are working are blue.
I tried an exaple program and it worked.
Maybe one day I will get a solution or an explanation why the red VIs does not work.
Thx for ur help.
01-26-2024 01:10 PM
An easy way to ensure that the card/meter is working properly is to use NI-MAX.
In the region below of that window, it should provide a response from the Meter.
01-29-2024 01:19 AM
Hi,
thx for that try but it doesn't work also.
I tried it with measure first and then wth Acquire befor measure.
Most time it sais that the channel is not able to do that and the othertimes it is something like Query unterrminated in the Keysight and timeout in NI MAX.
01-29-2024 07:01 AM
Now that you add this information, it points in a different direction.
Did you turn off the termination character? It should be 0xA by default which will give it the correct termination character for write communications. you could also add the \r to the earlier measure string I provided.
01-29-2024 07:56 AM
Hi,
it seems to be off:
I tried it on and off but it still does not work.
I used you string with \n\r and both individually.
Still +308...
01-31-2024 08:14 AM
Hello,
after a few discussions, many hours of thinking and a great speak with my boss:
I found somthing very important....
The driver isn't made for the module 909. There is no vi that works with it....
I need to program it myself from the beginning.
Only the initiate and stop vi is working atm.
I need to use the command ACQ3:VOLT and not ACQ:VOLT:DC.
And INIT3 instead of INIT and so on....
At the end I found my answere I think.
If there comes a new question I will ask again ^^
Thx for helping me out. 😄