Reading TDMS file and clearing history from wawechart

when i take measurments, i make multiple TDMS files. Later, i use this files and show it in Wawechart. Before i read TDMS file, i clear Wawechart. But after i clear Wawechart the X axe is going to 1:00AM 1.1.1904, and chart is not show anything. In TMDS file i have time column.

Can this unbundle/bundle possibly lead to a race condition related problem?

Question is as in the title - I'm ignoring the error from the Close Reference (and not checking the reference exists) since I gather that does nothing useful (assuming a case structure and Is A Refnum test) but I'm wondering if it's possible that since execution order isn't enforced here, I could possibly write the new reference first, and then close the old reference (I realize a different reference is passed into the CS, but I don't know how Close Reference works - perhaps it closes based on a memory location etc.)
[img]http://ni.i.lithium.com/t5/image/serverpage/image-id/197599iABB74AB268A39873/image-size/large?v=1.0&px=999[/img]

Help configuring Call library function node

Hello, I'm trying to control a probe station with LV11 on 32-bit windows 7.
The user interface provided by the manufacturer has a .dll file from which I would like to call some functions.
The functions I'm mainly interested in are RegisterProberApp, CloseProbeApp, which must be called at application startup or shut down respectively, and DoProberCommand to send the desired commands (command MoveChuck for starters).
However I have no previous experience with .dlls and very little with C and I'm having trouble configuring the parameters of the functions,I tried several alternatives bit I keep getting error 1097

Error 1097 occurred at Call Library Function Node
Possible reason(s):
LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW.

I've attached ProgrammerTools.pdf (the functions i'm interested in are in page 17), PBench4-RemoteManual.pdf (command MoveChuck is in page 30) and a vi with one-of-many attempts to configure Call library function node, all of which with no success...
I would really appreciate any help and suggestions.
Thank you.

spO2 calculation

Hi,
Can any body help me out of this dilemma? I need to know how to calculate spO2 from photo transistor output. In depth explanations are most welcome!!!
I have done this calculation before by using the below formula.
Ratio (R) = ((AC rms of Red LED)/DC of Red LED)) / ((AC rms of IR) / (DC of IR))
spO2 = 110 - 25xR
Is this correct?

Does this graph exist in Labview?

Hello to all.
I would like to use this graph in Labview but I don't know it it is exist:[img]http://ni.i.lithium.com/t5/image/serverpage/image-id/197600i8881A77977C99553/image-size/original?v=1.0&px=-1[/img] Where I would give "line" and (x,y) coordinates.
Thanks a lot.

continuous real time spatial resolution

I started this project on NI LabVIEW while ago and left it due to some problems that i needed to take care of.

I'm trying to read in real time from 4 analogue inputs in Arduino and display it over intensity graph on VI

I have a sensor mat that can detect pressure, I wrote my code through Arduino to send a high voltage from 4 digital pins each one at a time, and read from the 4 analogue pins in each time i send a high voltage to the sensor mat (surface).

my VI can read continuously and store in 2D array, but display over an intensity graph up to one time then stop processing the rest unless if i'm stopping the program then activated again.

what i want is: reading my data every time and the most important see the spatial resolution changes due to change the weights over this sensor mat. like detecting the position of the weight over the sensor mat and see it in real time.

i'm reading the data through a serial USB connection between the PC and Arduino, reading from VISA and store it in 2D array then try to display it.

in the attachment you'll fine a picture about what i mean by sending high voltage at a time and read from the analogue pins . also my VI that i'm trying to work on it from long time, but unfortunately i couldn't touch it for a while now.


looking for your knowledge and help.
[img]http://forums.ni.com/ni/attachments/ni/170/1006201/1/lab.JPG[/img]

Set white Frame to a Picture

I want to add a white frame with one Pixel thickness to a picture in order to separate particles from the image border. I need a gradient completely surrounding each particle, which isn't the case if they touch the image border.

I made a VI which reads an Image, and then makes an array filled with zeros in the dimensions of the picture plus two in each dimension. Then I convert that array into a picture which is two pixels bigger in x and y each than the input picture, and completely white.
Then I copy the first picture in the white one, with an offset of 1;1. This VI should put a white Frame onto my picture which it doesnt. Can somebody tell me what I did wrong?

Thanks for any help.

myRio Cannot setup WiFi

I have a myRio which shows up on Max and has the software installed. I can even run programs on the FPGA and processors fine.

What I cannot appear to do is when connected by the USB cable, manage to use the web browser to get to the IP 172.11.11.2.

I have pinged that IP and it replies fine but when i put that in the web browser I get nothing. Says the URL could not be found.

I assume this is the say to setup the WIFI since it said so in the instructions. Also in Max I can see things under System Settings - shows IP 172.22.11.2 and 0.0.0.0 for Wireless, DNS Name etc but when I select Network settings it says no adapters found.

convert data from serial port to real time plot

I have a serial terminal that reads my data in the following format.

X=-0.020 Y= 0.026 Z= 1.160
X=-0.007 Y= 0.015 Z= 1.144
X=-0.007 Y= 0.020 Z= 1.160
X=-0.010 Y= 0.015 Z= 1.160
X=-0.012 Y= 0.015 Z= 1.170

How do I get this data to be graphed on X, Y or versus time plots? Please help I usually work with excel macros and I am not familar with labview

How to read continuously from rs232?

Hello,

I am new to LabVIEW and my questions would be obvious for some for you. So please help if you know the solution.

This is for my school project. For your information, we need to program an Altera DE2 board to control the traffic lights (something like that) and at the same time, the board transmits the states of the lights to a computer with LabVIEW installed via RS-232 cable.

The rest of the project was going well except for the LabVIEW part because as I said earlier, I am new to LabVIEW.

We are using the 'Basic Serial Write and Read.vi' provided in the NI examples folder. The problem is that we don't know how to modify the vi in order to receive continuously the data coming form the DE2 board. Each time, the vi stops to read after it received 24 bytes of data.

Thus, the first question is:
1.) How to read continuously from the RS-232 port? (We tried to use 'while loop' but with no success, maybe we were doing it the wrong way.) If you know the solution, please shed some light for us in a detailed manner.
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir