Quantcast
Channel: LabVIEW topics
Viewing all 69004 articles
Browse latest View live

Error 1 occurred at Get Queue Status in NI_LVConfig.lvlib:Get File Path.vi->NI_LVConfig

$
0
0

Dear ALL : 

 

use to Labview 2011 compile on the WIN7,show this Error .
I try to installed to on the XP, also show this Error .

 

                       Ths~

 

Error 1 occurred at Get Queue Status in NI_LVConfig.lvlib:Get File Path.vi->NI_LVConfig.lvlib:Close Config Data.vi->PCVS_INI.vi->PCVS_Main_V2.8.2.2.vi

------------------------------------------------------------------------------------------------------
Possible reason(s):

LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.


Linx + Arduino Mega with labview

$
0
0

Hi, I am doing pulse oximeter project. To do this, I am using arduino mega 2560 for read and write purpose in Pulse oximeter probe. I am measuring Oxygen saturation level of the patient using this setup. I have got output too. But only one thing I need to solve. When I run the labview code Arduino mega takes few seconds to start the process. This is ok at the start of the project.

But here is the real problem arise. I am supposed to alert the doctors and nurses when patient's finger is misaligned or not placed inside the probe. I have used two button dialogue to alert them via prompting a sub panel. Two buttons are 'STOP' and 'CONTINUE' . When user press stop, program gets stopped. When user press continue, program retry to measure oxygen saturation level. But due to the time delay of Arduino to start the process as in the very first start of the program, that alert panel being prompted two or three times after the patient has placed their finger after the first time warning. Why this delay happens? Is there any way to resolve this scenario?

 

Questions about using a reference held in private class data without changes to the reference value

$
0
0

So, I have a bunch of boilerplate code that looks like variations on the following:

 

boilerplateSnippet.png

 

Here, you can see an IPE Structure, with unbundle/bundle of a (COM, but it doesn't matter afaik for this question) reference. Then I do something with the reference using a property or invoke node (here invoke). The reference coming out of the node is to my understanding identical in every way to the one entering the node.

 

Whilst looking for the suitable way to do this in a child class (using the same private data, but now belonging to a parent and so inaccessible directly using an IPE) I came across this idea post in which the problem is discussed. There, AQ tells the OP that starting in 2013, LabVIEW will use inline accessors in the same manner as an IPE, subject to some conditions regarding their placement.

 

AQ also describes how ideally APIs should discourage wiring 'object out' indicators from 'Read' accessors, in order to avoid artificial dataflow constraints.

 

My question becomes, should I instead do this:

boilerplate2.png

 

and use a 'Read' only accessor when in a child class, like here (same VI, so not actually a child, but the point should be clear):

boilerplate3.png

 

(in this case, I have an object out indicator - my bad, but it does make it 'nicer' looking, and here the outcome should be identical I think - just a fork in the wire from in to out in the inlined subVI, which has nothing more than an unbundle node)

 

how to find a change in value greater than threshold in a specific time frame

$
0
0

Hi,

I acquire Pitch Roll Yaw angles continuously from a gyro. I would like to check if the value (RPY angles) changes greater than 60 degrees in a time frame of 500ms. I run the loop every 10ms. According to the data below, the value changes 10 to 80 degrees in 5 or more steps when a change actually occurs. 

Can someone guide me as to how this could be implemented

 

01/03/2017  12:19:01,860   10,790822 

01/03/2017  12:19:01,984   15,046648
01/03/2017  12:19:02,083    26,481090
01/03/2017  12:19:02,201    40,054445
01/03/2017  12:19:02,300    61,342823
01/03/2017  12:19:02,387    82,453988

Configuring outputs correctly on a sub VI

$
0
0

Hello:

I am using Mr. Troy's can recieve( forums.ni.com/t5/forums/postpage/board-id/170 )

But when I try to use it as a subvi connecting it directly; none of the outputs work.... I have connected them as I normaly do with a sub VI000000000.PNGWhat is the correct way to fix this..... Can someone help me

DAQ Series M Sample Rate and Number of samples

$
0
0

Never had an application for this until now..  I'm trying to read 12 channels differentially..sequentially at one time .  400 Hz is the freq 5vac.

If I understand the specs, using differential readings I have to count each channel separately when it comes to sample rate.  so 25k Samples/sec divided by 24 channels comes out to roughly 10K samples/sec per channel..Thats fine..less than nyquist.   And that means a sample every 100 msec but I have 24 channels so by the time I get from ch 1 to ch 12 roughly 0.2 msec has passed..correct??  And that's just one sample??  If I have my # of samples set to 1000 ( say) it could be 200 msec ( .2 msec*1000 samples) before all 12 channels have read all the data before it is processed??  Can someone show me where it specs and how to read max samples I can have in this particular case?? Could I do 2047 samples?

I know...I know..Simultaneously Sample card !!

Thanks.

Runtime control flow information

$
0
0

Hello,

 

do I have any opportunity to collect control flow information about an executed (or under execution) vi? So can I access anyway to the running environment? I know only for this purpose DET, but I cant access to trace information programmatically, and I am not sure, but as I see, DET does not show all stack trace information (for example if I run a vi from "vi.lib - Clear Error", I cant see that in DET).

 

Thanks for any help

Balint

Big size LabVIEW VI

$
0
0

Hey,

I have a very big VI (test_connecting.vi) with included subVIs (Comparison.vi). But I can't connect at the end of VI's block diagram the In Place Element Structure output array with For Loop right shift register inside terminal and save the VI!

 

Can anyone connect and save the VI?

 

Cheers,

Evita


Profinet interface using the Hilscher CIFX 70E or CIFX 50E boards

$
0
0

Does anyone have any experience using the Hilscher profinet with LabView.  The Kunbus option is not available in PCIe and I need to communicate through that interface.

error/ Getting started with myRio

$
0
0

Hi there,

I just press the Launch Getting Started Wizard in the myRio USB Monitor and then click the device appeared as discovered and some unrecoverable error happen and I don't know how to solve this.

Detail:

Error -2147467259 occurred at Property Node (arg 1) in Target_Connect.vi->CheckSoftwarePage.vi->CheckSoftwarePage.vi.ACBRProxyCaller.ACE00012

Possible reason(s):

LabVIEW: (Hex 0x80004005) Unspecified error.
=========================
NI System Configuration: (Hex 0x80004005) Miscellaneous operation failure.

 

Thanks a lot,

Thomas

Google Maps VI in Tabview 2016 MAC

$
0
0

Hello,

I have the following part of a VI that generates a URL each 5 seconds, from incoming latitude and longitude, and represents the location of one object in Google Maps. This was implemented using Tabview 2016 for Windows.

Now I am migrating my VI to Tabview 2016 for MAC OS X and everything seams to be working fine but this loop:

gmaps.png

I tried to add a snippet but I couldn't select just was I want (I am a MAC beginner...).

This is giving me a few errors regarding the two nodes.

Can anyone help me fixing this?

Thank you.

Duarte

Labview- Issue Saving Excel files

$
0
0

I am looking to streamline the way we are saving our data, and I have been having some trouble with the write to measurement file block. What we have been doing is right clicking on the waveform plot and exporting to Excel and then saving that file as shown below. This method has been working for us, however it can be time consuming to export and save.

Process1.JPG

 

 I have tried using the write to measurement file block, and it does save the excel file to the designated folder. The problem is that the time seems to be limited to three decimal places. The waveform plot is set to 7 sig figs so when I export I can pick up the smaller time step shown above.

 

Process2_Write to measurement.JPG

 

When I open up the write to measurement block I am only able to set the seconds time stamp to the third decimal place. If I add any additional zeros to the code, the saved excel file is corrupted and has to be restored. If anyone has any advice it would be greatly appreciated.

Process2_Save_to_Measurement.JPG

Communicate with network device via modbus tcp

$
0
0

Hi,

 

I'm new to both labVIEW and modbus protocol. I'm trying to make a VI to read data from an Inverter via modbus tcp protocol. I've downloaded the Modbus library and tried making a VI after studying some examples. Attached is a snapshot of the VI I Made.

 

I get an error  (ERROR 56) when I run this VI. This error is generated by "MB Ethernet master query Read.vi". 

I cannot figure out the what is the cause for the error. Please help me.

Thanks in advance.

 

Speed up write to text file

$
0
0

I've been trying to get this VI to work more quickly.  It's a VI that simply outputs a text file of a WFM in a

 

Time <tab> Value

 

format.  Writing to the actual text file seems to be fairly quick, but the conversion of the WFM values to strings isn't.  I experimented with using the "Format Into File" VI with no luck.  That VI has a tendency to degrade in performance the larger the waveform (Non linear).  So I tried to use my own shift register (In the attached VI) which at least stabilizes the write performance.  Yet, that's not really the driving issue.  It's the conversion to strings that's killing me.

 

So, what's the most efficient way to generate formatted strings if not using the Format Into String VI?

 

Thanks

 

XL600

Compilation Error in LabVIEW FPGA

$
0
0

During compilation with LabVIEW 2016 and Vivado 2015.4 compilation tool error shows up with the smartheap library. It shows out of memory. Also asks to free up some memory before continuing.


Read NI Veristand Sequences in Labview with API

$
0
0

Hi,

I'm looking for a method to read the structure of NI Veristand RT sequences in Labview with NationalInstruments.Veristand:RealTimeSequenceDefinitionApi. How can I do this?

Regards

Michele

 

Convert MGRS to Longitude and Latitude

$
0
0

Does anyone know of a labvew application that converts from the military MGRS coordinate system to longitude and Latitude?

Desktop execution trace toolkit missing called VI

$
0
0

Hello,

 

I attached a picture that depicts a simple trace by Destop Execution Trace Toolkit (DET). Does anybody know, why I don't see "Error Cluster From Error Code" call on the execution trace list?

 

LV_DET.PNG

using output as an input in tab menu

$
0
0

Hi everyone ))

I am making a simple simulation programm and not using no software or hardware from the outside of it. Only a logic inside a VI itself.

  Someone knows if i can control inputs like switches and other controls by changing it in another tab? how can i share information of inputs and outputs and control them between tabs. where can i get an information for it? I learning the programm by myself and still not familiar with lot of stuff here, so in your answer please imagine you explaining a 5 year kid..

Thanks a lot for listening ... 

 

NI 8452 Controlling multiple dio ports

$
0
0

Hello all

NI USB 8452- I need to control multiple dio ports to actuate solenoids. I used the example vi  and instead of having only one port configuration at the line direction map property node i made a case structure with selector as boolean to switch between the ports. My problem is the digital signal does not switch using the boolean. If i run the vi with boolean at true the signal goes to the port associated with the true case structure and when the boolean switches to false it still actuates the port associated with true signal. Its vice versa when i start the vi with false statement of the boolean.

Attaching my vi for reference. Thank you in advance

Viewing all 69004 articles
Browse latest View live