11-23-2017 01:28 AM
Hi.
I would like to use serial port available on the controller through LV RT. I tried by downloading the simple example read write to RT target. But error occurs resource is not recognized etc.
11-27-2017 10:20 AM
DMic,
What example are you using? Can you post a screenshot of the error you are getting and one of your Project Explorer Window? This information would be very helpful for troubleshooting.
Regards,
Alyssa H.
National Instruments
11-30-2017 04:12 AM
HI,
Here is the screen shot of block diagram and error message with project explorer. I just copied the basic serial vi example and downloaded to target..
regards,
12-01-2017 11:02 AM
Hey DMic,
Where did you download the example from? It seems to be missing the VISA resource. See image below of the Simple Serial example that ships with LabVIEW.
Can you add a VISA Resource name control and set that to your source and try that out?
Regards,
Alyssa H.
National Instruments
12-01-2017 11:26 AM
Oh sorry. I used Com1 as resource. But the error was same then i deleted the resource wire. Still same error. I am confused whether the visa resource in target should be same as of when we run in host pc.
12-04-2017 04:06 PM
DMic,
You should use the name of the VISA resource that is listed under your controller in NI MAX. It will not work if you do not have the VISA resource wired in.
If you do not see the VISA resource listed in NI MAX under your controller, make sure that you have NI VISA and Serial installed on your controller.
Can you post screenshots of what NI MAX sees and make sure that all of the tabs under your Chassis and Controller are expanded out?
Regards,
Alyssa H.
National Instruments