LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

89410

i am using labview 7.0 currently working on ailgent 89410. however i extracted some VIs. from the driver and when i put them together and run it, there is serveral problems with my program. Can anyone tell me what is the error because i can't seem to solve it. Thanks.
0 Kudos
Message 1 of 15
(3,821 Views)

Would you like to share with the rest of the the exact nature of the problem? Simply saying something doesn't work is not enough information to help you.

You do have a couple of strange things with your program. Why do you have string controls for Stop/Span, Start/Center, and impedance? By using strings, you are just making it much easier for a user to provide an incorrect value.

0 Kudos
Message 2 of 15
(3,808 Views)
When i run the program, i have several errors like instrument basic not install, remote error: -121 invalid characters and value out of range set to limit.
0 Kudos
Message 3 of 15
(3,798 Views)

At least one of the instrument errors may be caused by your use of string controls. You didn't answer my question about why you would want to use string controls. What value are you entering for an impedance? It must be either 0,1, or 2. If you created a control for channel one like you did for channel 2, you would not have the possiblity to get an error.

If you are getting VISA errors, post the error numbers. To isolate where you get instrument errors, single step though all of the functions to determine where they happen.

0 Kudos
Message 4 of 15
(3,794 Views)
i am using string control because i canot change the value when i use a control.
0 Kudos
Message 5 of 15
(3,773 Views)
Hi tyl,

first: you are using LV7.1 not LV7.0!

Why can't you change a control? It's the sole purpose of a control to get changed... Independently of it's type, may it be a string, a number or an enum!

Maybe you should change the dataflow a little bit, when you need user interaction: First let the user set the values, the press a button 'Start' then run your device communication!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 15
(3,768 Views)
That's just ridiculous. You have numeric controls all thoughout the example. You have the correct enum control for channel 2 impedance and think you have to use a string control for channel 1?
0 Kudos
Message 7 of 15
(3,758 Views)
but why is it that since i have extract all these from the drivers' vi, i will still have errors? shouldn't the drives' vi be correct?
0 Kudos
Message 8 of 15
(3,754 Views)
The drivers are probably correct but you are also probably sending an incorrect value to one or more of the functions because of the silly string controls you've added. I asked you earlier, what is the string value you are sending for the channel 1 impedance. Why don't you answer that? Why don't you open each subVI and run them separately? If any of them have a bug, it will show up then. Doesn't the driver have a getting started example? Does that generate an error?
0 Kudos
Message 9 of 15
(3,751 Views)
i didnt answer because i already changed it back into control. and one thing is i am not able to change the value of the my input when i use a control, and i keep getting the error, limit out of range.
0 Kudos
Message 10 of 15
(3,745 Views)