LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA resource disappears from front panel when ran on PDA

labview and PDA module 8.2 installed

I am creating a VI for reading GPS data.

To accomplish this I have to use the VISA Rsource token on the front panel. The VI compiles and deploys to the PDA. The front panel appears correctly, however, the VISA selection box is missing from the front panel. It is not hidden in the background or off screen. The VISA CE driver is installed. I can't figure out why it won't display on the PDA.

Any help is greatly appreciated,

Corey Floyd
0 Kudos
Message 1 of 10
(13,849 Views)
This is to be expected.  The NI-VISA resource control is not supported on PDA.  You will need to use a String control/indicator for entering and displaying values.  Take a look at the PDA examples.  You can also do some tricks like this (http://zone.ni.com/devzone/cda/epd/p/id/2757) to programically populate a list to choose from.

-Josh
0 Kudos
Message 2 of 10
(13,835 Views)
I guess I need to clear up some conflicting information. I have PDA module 8.2, and it specificallly says it has added VISA support. In the PDA examples there is an example (for the PDA) that uses VISA Serial tokens.

Am I misunderstanding something? Is VISA "half" supported? Am I understanding it can use VISA tokens on the block diagram but can't use the VISA resource token on the front panel? Do you have to use some kind of workaround to get it to work?

thanks again,

Corey Floyd
0 Kudos
Message 3 of 10
(13,824 Views)
Hello Coreyf,
 
Here you'll find the workaround for that issue:
 
Since VISA Resource Names and strings can be coerced to each other, the user can use a string control instead of the VISA Resource Name control. Or the VISA Resource Name control can be wired up to a visible string indicator to display its value.
 
Regards
0 Kudos
Message 4 of 10
(10,877 Views)
hi , i am ravinder, i am also facing same problem, but i can not understand the slouation , how visa resource name control canbe replaced with string control, please send the logic on the post. i am new to labview .thanking u
0 Kudos
Message 5 of 10
(10,044 Views)
Hi jabili,

I've posted a response to your question on this post.

Thanks,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
0 Kudos
Message 6 of 10
(9,933 Views)
Thank u ur response, but i am unable connect the strincontrol to the vi. Here i am using the modbus query vi , i just  pass the visa resource name to this vi , u r direct connect the visa to string control.
0 Kudos
Message 7 of 10
(9,884 Views)
Hi jabili,

Where are you getting the modbus query vi from? Can you attach a simple example to illustrate the problem?

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
0 Kudos
Message 8 of 10
(9,855 Views)
thanku for responding, i am said in my programme modbus (init) vi is used. This vi having the required  inputs , in that  Visa name control also one in put . i want pass the name control using  visa resource control on pc. if  same application ran on pda the resourcename control is disapper for this the soluatuion is use string controller (or) string indicator  upto this clear. when i connect the string controller to the modbus init vi i.e is not connected,plese send  the logic using  jpg  how to connect the string controller to modbus init vi the rquired input is visa resource name controller?
 
 
0 Kudos
Message 9 of 10
(9,844 Views)
Hi jabili,

Assuming you're getting the modbus (init) vi from NI Modbus library, you should still be able to wire a string control to the vi (see picture below). If you're not able to do so, please send a simple example VI that illustrates the problem.



Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support



Message Edited by stanthetiger on 01-23-2008 05:14 AM
0 Kudos
Message 10 of 10
(9,828 Views)