06-03-2015 10:31 AM
Hi,
I am facing difficulty in VISA serial communication. We have diagnostic code running in a K70P256M150SF3RM type processor. The USB 3300 transciever helps to convert the ULPI line to USB mode. We are successfully communicated with the processor through hyperterminal (115200k baud rate). But while trying to communicate with LabVIEW we are not able to get any data from procssor. All parameters of VISA configure i have made like what i for hyperterminal.
Please help me to resolve the issue.
Thanks & Regards,
Sree
Solved! Go to Solution.
06-03-2015 10:44 AM
You'll need to provide more information than that for help. Perhaps even attach your VI.
Do you get any errors within LabVIEW?
What does the data look like that is going back and forth between the PC and the device in hyperterminal?
Are you sure you have all the settings correct? Is it possible you are not handling termination characters correctly?
06-04-2015 01:22 AM
Hi,
Thanks alot for your response.
For dubuging purpose i used the same sample vi given in the examples. It is having a visa configure, visa open, visa write, time delay, visa read and visa close. Nothing else. In visa configure we used correct baud rate 115200 and correct termination character. Labview giving the time out error of visa read, means no able to communicate with device.
In hyper terminal it is communiacating successfully. The command going from hyper terminal is
$<command><Enter>
Response will be data or atleast it will send Invalid command from device.
In hyperterminal, there is three places for adding the command and send function for each. But device not accepting that one. We have to add directly in the command window and send, then only device accepting the command.
Thanks & regards,
Sree
06-04-2015 03:01 AM
06-04-2015 04:34 AM
I have tried End of line/Line feed string constant concatenated with command, then also the issue not solved.
06-04-2015 06:20 AM
We are connecting device with PC through USB and with the help of some driver we accessing as Virtual COM pom port from USB modem. So whether we have to use any USB type VISA functions instead of normal VISA serial functions?
06-04-2015 06:25 AM
06-05-2015 05:22 AM
Hi here attached the error, hyper terminal and MAX pictures..
06-05-2015 05:24 AM
Here atached the code and front panel..
06-05-2015 05:47 AM
Well, since you can't even get it to work with hyperterminal, you have some connection issues. I'm also noticing you have some issues in your device manager. You get those fixed first. Then troubleshoot your connection issues. After that, your LabVIEW code should work. But this is NOT a LabVIEW problem.