LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing code on a machine that is not configured as the machine the code is targeted for

I am currently working on my Laptop , which is not configured as the machine the code is targeted for. Specifically, the target machine has three (3) serial comm ports (of which two (2) will be utilized). How do I set-up the VISA Serial  when it doesn't think that there are any there? Is there a way to "fake" it out so I can at least write my code until I can move it over and test it out?

 

Thanks ahead of time for any responses and assistance.

0 Kudos
Message 1 of 3
(3,034 Views)
You can use any VISA functions you want and manually enter a VISA Resource Name. What sort of problem did you have when trying this? Obviously you can't run anything unless you are using IVI. I generally use aliases for resource names (i.e scope, dmm) so I don't have to worry about a specific com port number.
Message 2 of 3
(3,020 Views)

Thanks for the info. I'm new to LabView and am still learning the ropes. The only person I work with that has in-depth Labview experience was finally available and showed me how to identify the currently non-existent comm ports using NI-MAX. This will play right into my moving the code over to the target machine and testing it out there.

 

Appreciate the response. 

0 Kudos
Message 3 of 3
(3,010 Views)