04-15-2015 07:13 AM
hello,
i am using Crio and i am having a problem in serial communication even i flowed the exact steps from the exampls i always recive the same error which is "poly VI visa configure serial port: bad linkage to sub vi" is it a visa settup issue?? knowing that when i run NI MAX it indicates that there is a visa error under the peripheric and interfaces of my Crio.
thax in advance.
04-16-2015 04:44 PM
Hello moho,
Could you post a screenshot of the error?
Regards,
04-18-2015 03:20 AM
hi Nadine,
thank you for your reply, i had some configuration errors and it is ok now.
04-20-2015 10:01 AM
I'm glad to hear that you managed to resolve the errors you were seeing.
Have a great day!
04-20-2015 02:28 PM
hi Nadine,
since i dont have a digital input module i tried to use the serial port RS232 on my Crio to read the data from an absolute encoder in order to perform PID control for a dc motor, but the problem is that the data took too match time to be read; there is a big delay between the first read position and the next one, please i need help.
04-21-2015 12:02 PM
Hello moho,
How are you configuring your Serial communication?
Which example are you following?
Can you post a screenshot of your code?
04-23-2015 03:27 AM
hello Nadine,
ok here a snapshot of my vi:
04-23-2015 04:03 AM
and when i tried to save the data in a file ian error occured i dont know the reason!!!
04-24-2015 10:35 AM
Hi moho,
Have you tried running any of the examples that come with LabVIEW to test this out? If so which examples? Are you getting similar behavior when you try running those?
04-25-2015 04:40 AM
HI,
i have reduced the number of bytes to read to 4, but still the same problem now some times it start working normal than began to slow down and some time it is too slow even when i change the slide controller its indicator took time to change, although it should be instantinouse.