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.
01-28-2015 03:58 PM - editado 01-28-2015 04:00 PM
Is it possible to make an application in labview that autodetects the srial ports that are being used by the computer, and can this be made with events?
Can labview monitor a computer's power state, such as shutdown, restart, etc..
Can an application be made so that it auto starts with windows?
Is it required to install a module to use serial communication in labview?
01-29-2015 04:05 AM - editado 01-29-2015 04:10 AM
Let's start from the easy answers...
> Is it required to install a module to use serial communication in labview?
LabVIEW manages serial communications through VISA: the specific software gets installed on your machine together with LV but you will need to install VISA runtime on the target machine if different from the development machine. This is normally done by creating a distribution and including VISA in it (see here and here)
> Can an application be made so that it auto starts with windows?
Simply create a shortcut to the application and place it in Automatic execution (or Startup: not sure how it's called in English) folder in start menu
el 02-01-2015 02:46 PM
Hello Nando88,
Q: Is it possible to make an application in LabVIEW that autodetects the srial ports that are being used by the computer, and can this be made with events?
A:
How Do I Programmatically Determine Available Resources at Runtime in LabVIEW?:
http://digital.ni.com/public.nsf/allkb/FA9073730B255BE586256E54005B13C4?OpenDocument
Q: Can labview monitor a computer's power state, such as shutdown, restart, etc.
A: On your other Post:
Monitor computer power events:
http://forums.ni.com/t5/LabVIEW/Monitor-computer-power-events/m-p/3082503
Q: Can an application be made so that it auto starts with windows?
A:
Running a VI when Windows Boots:
http://digital.ni.com/public.nsf/allkb/45455665A28AE87E862569CE0077583B?OpenDocument
Q: Is it required to install a module to use serial communication in LabVIEW?
A: Answered above by RobertoBozzolo.
el 03-25-2015 04:12 PM
I found an example that lists all the serial ports in a windows machine, and it uses the kernel32.dll, and I was wondering what can I use in linux? I was also wondering if it would be a better approach to use a c dll, to pass all the values to labview?
05-13-2015 09:46 AM - editado 05-13-2015 09:47 AM
Hi!
I don't know if you're still looking for an alternative but I use this snippet regularly and it works fine enough. I found it somewhere in internet and I make some small modifications to adapt it to any VI I use.
I hope it helps