10-29-2012 07:19 PM
Hi,
I'm trying to design a vi that will take information in a HEX format from Docklight and output blood pressure and heart rate.
I've included my requirements as I understand them and my inital attempt at the vi (not very complex I got lost fairly early, and don't have much experience understanding VISA requirments).
I want to be able to "read" through the file (output HEX) and determine when the value is 67 because this is the indication that the sensor has acheived a sucessful measurement. The next three values are the systolic pressure etc. I know how to take the output values and use them as I want.
What I need to know is:
Do I have to change my valued from HEX in order to read them in the VISA?
How do a create a loop that reads all the value until it reaches 67?
How do I initalize a new loop starting at 67 and have it output these values in a way that I can display easily on the front panel?
I'm pretty sure this is straightforward I'm just still getting used to understanding VISA function.
10-29-2012 07:47 PM
10-30-2012
12:40 AM
- last edited on
08-19-2024
02:19 PM
by
Content Cleaner
I assume you are using Serial VISA?
Check out this tutorial:
https://learn.ni.com/learn/article/getting-started-with-instrument-control-hardware-and-labview
Br,
/Roger