LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Errore rilevazione temperatura tramite MyRIO

Solved!
Go to solution

Buonasera,

sto cercando di risolvere un problema che ho da qualche giorno su un programma che sfrutta la scheda MyRIO. 

Il programma in questione è la modifica di un programma preesistente che simulava una rilevazione di temperatura tramite dei random o delle operazioni algebriche, faceva vedere a schermo i vari dati e li salvava su file. Ho semplicemente sostituito il sub Vi della randomizzazione della temperatura con quello della myRIO ma per qualche motivo quando provo a fare un'acquisizione continua della temperatura si genera un errore e mi rileva sempre 0, mentre con un'acquisizione singola la temperatura viene rilevata correttamente. Allego il programma e lo screenshot dell'errore.

Grazie.

Download All
0 Kudos
Message 1 of 2
(858 Views)
Solution
Accepted by topic author DavideBrusamolino02

Hi Davide,

 

simple answer: the myRIO is a computer on its own and it has NO ACCESS to your Windows computer harddrive!

You cannot write files from myRIO to folder C:\users\Davide\OneDrive!

 

I really recommend to take the beginner courses as offered at the top of the LabVIEW board!

You also should take care of the example projects coming with LabVIEW, they explain how to transfer data from RIO to your Windows host computer.

And especially you REALLY should reduce the usage of local variables…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(832 Views)