From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-04-2014 12:09 PM
Here is the code pertaining only to the GPS.
I'm getting the same error message with the GPS only as I am with the whole program. (see earlier attachements for the other code).
12-04-2014 02:53 PM
After messing with the program for a little while, I see the error is coming from my VISA reader just inside of my loop.
I did some searching online and found that my serial port and device may not be configured the same.
I opened Measurement and Automation explorer to check out what is going on. It appears that my port is stlill configured at 9600 but now the program is at 38400 (is that right?)
I opened the VISA test panel and I'm getting the following error
12-04-2014 04:39 PM
12-04-2014 04:45 PM
What about not being able to access or read the ASRL10::instr "LPT1" ?
Both of my computers have this issue. My desk top has COM1 and 2. I can change the Baud rate on those. But I cannot get into the ASRL10::Instr "LPT1" in either computer
12-04-2014 05:15 PM
That is because it is on a real-time target like your myRIO
12-04-2014 05:29 PM
So, what do I need to change or add to get this code to work, in order to change the sampling rate?
12-04-2014 05:39 PM
12-04-2014 06:51 PM
12-04-2014 11:15 PM - edited 12-04-2014 11:16 PM
I found a thread with someone having a similiar issue. Here is what he did.
"
My solution..
My program use wait on event triggered by the termination character and when the error occurs I just remove the error, flush the buffer, (wait for the next termination character) and read again. Seems to work like a charm
"
Is this a valid solution? Also, I don't understand what he is saying. How do you "just remove the error"?
(Here is the link http://forums.ni.com/t5/LabVIEW/Error-1073807253/td-p/306687/highlight/true/page/2
12-05-2014 05:25 PM
@cwestfall wrote:
I found a thread with someone having a similiar issue. Here is what he did.
"
My solution..
My program use wait on event triggered by the termination character and when the error occurs I just remove the error, flush the buffer, (wait for the next termination character) and read again. Seems to work like a charm
"
Is this a valid solution? Also, I don't understand what he is saying. How do you "just remove the error"?
(Here is the link http://forums.ni.com/t5/LabVIEW/Error-1073807253/td-p/306687/highlight/true/page/2
I'm not sure how this is relevant to the changing the sample rate. Are you getting Error -1073807253 on the VISA Read call? I'd take a look at this article if you are:
http://digital.ni.com/public.nsf/allkb/F3E0621CB71AA16786256F970000FC57?OpenDocument