05-23-2012 07:30 AM
Hello, I got a problem data acquisition causing from VI property something. I attached my VI in case you wanna see my VI. When i tried to connect my assembled VI to the test bench, it didn't acquire data from it. The error was shown "Property Node (arg 1) in VISA Configure Serial Port (Instr).vi-". It shouldn't cause from any ports or any computer systems because I already tested another Sub vi (Data_read (adapted), you can find it in my sub vi package) with the test bench and it ran properly. Any ideas?
Thanks in advance
Solved! Go to Solution.
05-23-2012 07:54 AM
@Bombbooo wrote:
Hello, I got a problem data acquisition causing from VI property something. I attached my VI in case you wanna see my VI. When i tried to connect my assembled VI to the test bench, it didn't acquire data from it. The error was shown "Property Node (arg 1) in VISA Configure Serial Port (Instr).vi-". It shouldn't cause from any ports or any computer systems because I already tested another Sub vi (Data_read (adapted), you can find it in my sub vi package) with the test bench and it ran properly. Any ideas?
Thanks in advance
Unfortunately I have seen that error too many times ....
The part of the error message that says "arg 1" indicates the first thing passed to the property node caused the error. THe first thing passed in is the VISA resource name.
So check that the name you are using appears in MAX.
Ben
05-23-2012 07:57 AM
I am pretty sure that the name was correct while i was testing my code with the test bench. I used this visa name with another Vi to test and it worked. 😞
05-23-2012 07:58 AM
Is it about my code which isn't completely right in terms of any dataflows issues?
05-23-2012 08:08 AM
The error is telling you the value that ws passed to the VISA function was wrong.
Put a probe on the data going to the VISA function to confirm the value is correct.
If you post images I can take a look but unless you are developing in LV 7.1 this machine will not let me look at your code.
Ben
05-23-2012 08:18 AM
Ok the first image is my main vi. You can see the sub vi (VIs connection) in the middle which appears in the second image. The second one looks a bit confusion because I tried to create inputs and outputs to connect in the main one. I tried a probe already, the dataflow is probably normal but there was an error popping up.
05-23-2012 08:42 AM
Still sounds the same.
The error message indicates the VISA config declared the error and you should concentrate on the value passed to that function.
Put a probe on the wire between the control and the config and verify the spec is correct.
That other stuff happens afterwards and is just a distraction.
Ben
05-23-2012 09:04 AM
I put a probe on the error wire coming out from VISA serial. It said "not executed".
05-23-2012 09:10 AM
If it was there before you started the program then your error is elsewhere.
is there another VISA config somehwere?
Ben
05-23-2012 09:15 AM
No it was after starting the program. It's wierd because it said "not excecuted" but the error is shown up. This is the only place where the error pops up, output from VISA serial. It might not excecuted because I haven't plugged it to the test bench but the result was the same as I already did it