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.
10-07-2016 01:04 PM - edited 10-07-2016 01:17 PM
Hi Raven!
Ah thanks buddy! Putting a space infront of my Z fixed the error!
Actually I would just like to do what is most reasonable. What do you suggest doing instead? 🙂
Did I not use the Scan From String on the data that came out of the VISA read?
Greetings
DP
10-07-2016 04:15 PM
No. You used scan from string on the string where you keep concatenating all of the new VISA read data at the end.
I think adding the space in your search string (if that is where you are talking about adding a space) is a mistake. The other lines that were the newer data you should've been analyzing did not seem to have that space.
You need to figure out why that space was there. Perhaps it was other problems in your code. If it is there sometimes and not others, consider using a "Trim Whitespace" function to clean it up before you feed it through the Scan from String.
10-12-2016 08:09 AM - edited 10-12-2016 08:11 AM
Hi Raven
Sorry I haven't responded before.
Could you take a look at this VI and tell me how to improve it. Please do not rip your eyes out because I know it probably looks horrible.I know that using write to measurement file is wrong and there probably is alot of ways to do it better but this way I have been able to get the VI to do what I want.
I added the VISA serial write and read at the bottom of the VI and everytime it starts reading everything else in the VI just slows down extremely. What is the cause of this?
Greetings
DP
10-12-2016 08:12 AM - edited 10-12-2016 08:13 AM
10-12-2016 08:38 AM - edited 10-12-2016 08:38 AM
Hi Gerd
Whenever I try to save as a previous version I just get a folder with the same exact version? I have been trying several times....
Greetings
DP
10-12-2016 08:48 AM
Can you open this one?
Greetings
DP
10-12-2016 08:56 AM
Hi DP,
I added the VISA serial write and read at the bottom of the VI and everytime it starts reading everything else in the VI just slows down extremely. What is the cause of this?
It gets slow because you programmed it this way! THINK DATAFLOW!
Put the serial communication into a parallel independent loop…
10-12-2016 09:12 AM
Hi Gerd
Thanks that worked :)!
I will try keep working on my original problem which was to get the chart to work properly and write the data to a file. It was also mentioned if I wanted to build up one long string of all the responses by Raven. Was he thinking that I should remove the shift register?
Greetings
DP
10-17-2016 06:37 AM
Hi everyone
I can not make the chart work. I keep getting an error no matter what I try. Any suggestions?
Greetings
DP
10-17-2016 06:47 AM
Hi DP,
I can not make the chart work.
Which chart?
I keep getting an error no matter what I try.
What kind of error do you get? Error numbers? Error messages? BSOD?
Any suggestions?
Attach your current state of the VI. Explain where exactly you have problems with!