Jump to content

marc426

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0

About marc426

  • Rank
    I've come back for more.

LabVIEW Information

  • Version
    LabVIEW 2013
  • Since
    2014
  1. Hi guys, Thanks for the answers! Ok, I thought that telling it which one by double-clicking and then setting it up inside the VI would be enough but I guess not... Just one thing, when you say don't forget to close it when the loop stops? Do you mean the Configure serial Port VI? So I should put it outside the loop? Or just the constant? Oh and as for LIFA, I'm seriously considering it but since I already have my code written (I'm not good enough to translate in Labview quickly...). Thanks! Marc
  2. Hi everyone, New on this site, new to Labview, new to RS232 and actually new to pretty much everything! Hope I'm not posting in the wrong section... I feel a bit out of place anyway to be posting among experts but well, for lack of a better place... So here's the context of my problems : I'm trying to set up a (crude) acquisition system based on an arduino and a couple of multiplexers / Thermocouple conditionners. My arduino is sending via its own USB-RS232 converter a string of all the values (approx. 20) as characters. I figured out I could use Labview to do a nice displaying and logging of these values. Now, I identified and downloaded VISA to communicate via RS232. OK so, in the MAX explorer, I have under port & peripherals the VISA test panel and if I try the viReadtofile under Basic I/O, it gives me a nice file with one set of values (one line). So it does communicate ! YAY!!! Onto the next part... I used a template from Labview, continuous datalogging and I just put the read to file VI but now when I press the RUN button, it gives me the two following errors. Error 1 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Test_Read_VISA_1.vi Error -1073807346 occurred at VISA Read To File in Test_Read_VISA_1.vi Why is it already blocking my progress? And after that, I'm not sure I understand how can I process the output of the reading of the serial (basically, slicing the string of characters in it's values and displaying and logging them)? All the VI seem to directly process the serial readings to one thing without the opportunity for me to do anything to it... I'm attaching my VI even though it's pretty much only the read to file VI... I'm even ashamed to be that bad but I hope you guys will find enough faith in Labview to teach the basics to a newb like me! Thanks by advance! Marc Test_Read_VISA_1.vi
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.