My Lab View system was working fine for reading the pressure transducers (from Omega) and all on a sudden it started displaying erroneous data. Now in block diagram I can see the actual voltage reading and the converted pressure reading (around 209 psi for the screen shot), but the display is showing less. Could you please help.
About displaying the right data in LabView
DAQmx: Timestamps in Triggered mode
My aim is to acquire signals on external trigger on a PXIe 6368 DAQ card, do some basic processing and store them.
Everything works as it should, just the timestamps are that comes with the measurements are not really what I wanted.
My findings (please correct me if I'm wrong or could be set any other way):
- When acquiring on external trigger, t0 is the time of DAQmx Start Task.vi execution, not the time of trigger
- When acquiring measurements in retriggerable mode timestamps are not defined by each trigger but instead equidistant (with set sampling rate) from execution of DAQmx Start Task.vi. (e.g. if DAQmx Start Task.vi executes on time 0 and triggers come each ms from t=2s on and sampling frequency is 1MHz, timestamps would be 0, 1E-6, 2E-6,3E-6...; Instead I would want 2, 2+1E-3, 2+2E-3, 2+3E-3...) - it looks like DAQmx driver is taking 1 retriggerable measurement as samples were acquired with one frequency - as there were no pause between triggers.
Is there any way of getting t0 of waveforms on the time of trigger - at least relative distance to be correct?
Is there something that I did not configure right?
Is there a workaround?
I found a similar issue HERE, but was somehow not answered.
Photos in the attachment show my implementation.
Any information would be really appreciated as this is quite a hurry.
Displaying 9-axis data from BNO055 through VISA serial communication with Arduino
Hi,
I am new to LabVIEW and I need some help. I am trying to get data from BNO055 in LabVIEW through VISA serial communication with Arduino Uno. I am getting all the data in the Read Buffer (please see the attached VI) but I want to get each axis data in separate output box to make it more organized, usable and presentable. I want the output values to keep updating as I move the sensor as they do in the Read Buffer and Arduino serial monitor. Please guide me how to do this and is there a way to plot this data and get this data in a table? Your help will be highly appreciated.
Best regards,
Fahad Bin Zahid
fenêtre pop up de contrôle
Error 5003 using Arduino Nano and Linx
Hello,
I can't get contact with my Arduino Nano using LINX library in LabVIEW. Constantly get "Error 5003". I've uploaded the firmware onto the Nano board using the Makerhub firmware wizard and it's ok. I have for sure chosen right board and COM port. I've tried both LabVIEW 2015 and 2016. None works. I've tried to use Arduino MEGA board and this works perfectly.
This didn't happen before, seems like problem occurred on newest Nano board.
Anyone experience same problem? Solutions?
br,
paalbrok
Modbus device to communicate with wireless pressure sensor via UART
Hi, I am looking for the smart Modbus device which use I2C and UART BUS protocol for communication with battery powered Wireless AC Current Sensors and share the values to Azure IoT preconfigured solutions - Remote Monitoring Solutions.
Any suggestion on this will be a great help.
Combining Radio Button logic and Ring Control Logic.
Hello,
I want to control ring control items based on the selection of radio buttons.
How can I do that
How to read eeprom of arduino in lab view with the help of LINX or FLIFA or is there any other solutions please let me know. Thank you
not
Vi will work in highlight execution but not in normal
Description pretty much sums it up. The Vi will write to file in highlight mode but not in normal
These error is showing program runs and upload to Arduino but I'm not able to see waveforms
Error 5003
Call Windows XP Virtual machine using labview
Hi All,
I'm having an issue starting the Windows XP mode VM through the command prompt in LabVIEW 2013.
The command I'm using is (C:\Windows\System32\VMWindow.exe -file "C:\Users\User\Virtual Machines\Windows XP Mode.vmcx"), but the problem is that the command does not work with the CMD prompt that I call from LabVIEW. I can go to command prompt on the PC and run this command on and it works, but if I have the same command on VI, the command prompt tells me the "C:\Windows\System32\VMWindow.exe" is not a recognized command.
On Some investigation I figured out that both LABVIEW and Test Stand are not able to see "C:\Windows\System32\VMWindow.exe" executable at all.
I tried running LABVIEW as administrator and it does not help.
Has any one faced similar issue.
"Make this the default case" not showing in dropdown box
I have a case structure with a string type selector. So I need a default case.
All the instructions say to right click on the selector and click the "Make this the default case"
label. It does not show up when I do this. My LabView is Version 18.0f2 (64 bit)
values referencing data of this....
Hello everyone,,,
I read in 2 excel sheets of data and create an array of objects dynamically that belong to a class. I want the front end to take in the 2 address' for the excel files and create the array in the background. I need all the other subvi's to have access to this array. How do I use the created array in other subvi's without making copies? I do not want to create any controls or indicators so as to not clutter the front panel of the main vi. I tried creating vi reference of the various arrays (input data and array of objects) but they don't seem to transmit from one subvi to another......
Agilent/Keysight 33250A using GPIB to USB converter
Hello all,
my question aims at the usage of the Keysight (former Agilent) 33250A frequency generator with a GPIB to USB converter "between" device and pc. I can use the NI-MAX VISA testpanel to write a simple command like "FREQ 3" to the device. This works w-o a problem as well as with the I/O-suite of Keysight which is necessary referring to the following application note:
http://literature.cdn.keysight.com/litweb/pdf/5990-3731EN.pdf
When using a VI with the simple commands "VISA open" , "VISA WRITE", "VISA CLOSE" I get the following error message:
VISA Open in FG-33250-set_frequency.vi
The program as well screenshots of the NI-MAX, the Keysight I/O-suite (showing device is connected and works) and the trace (line 6-26: command given from NI-MAX, line 1-5: testing GPIB-adresses, line 27,28: testing given alias) are attached.
I got nearly the same problem a month ago with Labview '17 running. Two weeks later I installed Labview '18. Yesterday I checked my main program and got the error as described above. Support from Agilent said it might be a installation problem. So Labview completely deinstalled and installed only Labview'18 with the concerning VISA-palette and the Keysight I/O-suite in the right order.
Thanks in advance for solutions!
Tom
SubVI with event structure does't work when called from main VI
Hello,
I've following problem.
I have this VI: it works alone, but if I call it from a Main VI it doesn't works.
I already tried to use a reference, but it does't work.
It quiet strange also because if I open the VI in the Prject tree I can modify it.
If I open the VI direct clicking on it from the main VI it appears everytime in running.
I just have more masks who starts normally, but only this give me problem.
Thank you in advance for your hellp!
Do you have any suggestione?
LabVIEW SQL 'Declare' Variable
Hello,
I have scoured the internet searching for an answer to this, but no luck...
I am attempting to write to a MS SQL database from LabVIEW.
The query is:
DECLARE @k INTEGER
SELECT @k = MAX(Component_ID) FROM Subassembly_Info
UPDATE Subassembly_Info
SET Rework = 'True'
WHERE Component_ID = @k
In this example, Component_ID is my primary key from the table Subassembly_Info, and Rework is a bit (boolean) column
The query works just fine in SQL Server Management Studio, but I get this error when I run it using LabVIEW:
Error -2147217900 occurred at NI_Database_API.lvlib:Conn Execute.vi->Write_SN_To_DB.vi
Possible reason(s):
ADO Error: 0x80040E14
Exception occured in Microsoft SQL Server Native Client 11.0: Incorrect syntax near '@k'. in NI_Database_API.lvlib:Conn Execute.vi->Write_SN_To_DB.vi
What I am trying to do is write data to the last row that already exists in the table (i.e., not append a new row). I am doing this because I am going to be writing ~90 sets of measurements to the table (each measurement gets a column), and I would like to do this in a loop structure.
Any help would be much appreciated...
Microsoft Silverlight not installing for NI-VISA drivers
Hi all,
I recently installed the LabVIEW 14.0.1 Development System on my PC and have been using it to play with a Eurotherm connector and usb-to-serial adapter. I've downloaded all the correct drivers for the connector and adapter but whenever I try to run a script in LabVIEW I am given error -1073807202 and prompted to install the latest NI Visa drivers. However every single time I run the executable for the Visa driver, the installation halts at 0% (installing Microsoft Silverlight 5.1 x64). I've tried uninstalling LabVIEW, Silverlight, and reinstalling everything but nothing I seem to do has any effect. Has anyone encountered this problem or have any idea for a fix?
Thanks
Package Build Spec - Installing to NI vi.lib or user.lib directory
Hi,
I'm trying to build a package compatible with NI Package Manager by using the Build Specifications --> Package option in LabVIEW 2018. I want to include some VIs that are installed to vi.lib or user.lib. On the build specification page, there is no root destination for Program Files/National Instruments/LabVIEW 2018/...
I can manually create it as below:
My concern with this method is for people who have installed LabVIEW not in this location, or for folks who do not have LabVIEW installed. Is my build spec guaranteed to always find the correct 'LabVIEW 2018' directory, or is there another method I should use to achieve this?
Thanks.
Dynamic Data Attributes Not Transferring to Diadem
Attached is a screenshot of my program in which I am trying to save multiple dynamic data signals to a binary TDM file. The first signal is an indexed DBL numeric converted to dynamic data. The remainder are concatenated arrays of DBL numeric converted to dynamic data. All have name and index attributes set and merged before being saved to a measurement file. When the file is viewed in Diadem only the first signal shows its name. The remainder are untitled. Can someone help explain why this is happening?
I should also mention that if I take the individual signals (one at a time without merging) they still are unlabeled, except for the first.
Thanks!
Labview OctoPlus Configuration Issue
I'm testing a new Camera from e2v called "OCTOPLUS", and having trouble to show its spectrum signal in Labview. Now, it works perfectly fine with MAX and CommCam, and I could change any camera attributes. Also, I'm able to grab image in Max. The histogram is clearly showing the signal. However, when I switch to Labview, no signal/spectrum could be displayed, and three're no error messages shown. Originally, I use this Labview .vi to calibrate my another Camera (Atmel AVIVA M2), and the spectrum can be displayed. Any ideas what's going on?
Environment: PCIe-1427 ; NI LabView 2015 SP1 15.0.1 (64bit) ; NI-DAQmx Device Driver 17.1.0f0 ; MAX 18.0.0f0; Vision Common Resources 18.0.0; CommCam 3.1.15