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

Configuration File

$
0
0

Hello,

 

I have been thinking about OO lately and I have a question regarding Configuration files.  Currently I store all my data in one big clustersarus.  I use Open G's write ini cluster to write the values to an INI file.  If I go to an OO paradigm the open G Write INI cluster VI doesn't like classes.  How do I save data stored in a class hierarchy to an ini file?

 

Example_VI_BD.png


Basic Binary File Does not Read Unless Placed into Exact Format it originated?

$
0
0

Ok, check this out.  This just does not make any sense to me.  First, you'll need to run it and create the two files.  You're going to get an error at the close.  Now...here's what doesn't make any sense to me.  If you enable the disabled diagram and read that same file, you can look at how the file is being read and the data interpreted.  How is that any different and not causing an error?  I took the U8 and changed it back to its original Boolean Array[8] format and received no error.  Which means the data was read as a U8 at some point.  But...for whatever reason, cannot be read and displayed as a U8.  What's up with that?  What am I not understanding?

Cannont run executables in Windows 8

$
0
0

This problem has been probably solved, but I could not find a thread in this forum to explain whats the solution to the below problem:

 

We have developed a software pacakge in LabView 2012 SP1. The installation works fine in all versions of Windows from (XP 32Bits to 764Bits Pro), However after installing the softwrae in a new machine with Windows 8 32Bit (this PC used to have Win7 and used to run the software just fine) I get the following message:

 

 

" the vi is not executable the full development " (multiple times in a single dialog).

 

Any clues how to fix this?

Should I upgrade my LabView or is this just as easy as changing couple of checkboxes in project settings? Also, I dont care how big my installer will be as long as it will run on the new machine.

 

Thanks for you help and looking forward for your tips!

VIs immediately tagged dirty on open

$
0
0

If all I do is open a VI- I don't even click the mouse, change views or ANYTHING, it gets the asterisk in the title showing it has been changed.  But nothing has changed. 

 

How do I stop this behavior which includes asking me if I want to save on close?

How to collect sound signals from cell phone?

$
0
0

Hello sir,

 

I have a question about using buit-in microphone sensor of smart phone (iphone or other android cell phone) or external microphone that linked to the smart phone. 

 

I would like to collect a period of sound signal using the microphone and let my LabVIEW program obtain the sound data. So that I could analyze it using LabVIEW. I think I might need an APP on my cell phone to log the sound signal and this APP has a function that could let my LabVIEW VI download/read the data. 

 

Could you give me some suggestions how to let LabVIEW obtain the sound signal from cell phone using built-in microphone?

 

Thanks

 

 

FPGA IP core with verilog

$
0
0

How should I import Verilog code into LabVIEW FPGA? I understand how to import VHDL code by using IP integration node or CLIP, and I am just wondering if there is any possible method to import Verilog code.

 

Thanks in advance!

count down time

$
0
0

Can someone help me with a count down time.

in 30 secs or so. It will alarm and stopped.

can someone show me how to

1. turn on alarm.

2. stop alarm (automatically)

and repeat count down till stop button is pushed.

 

 

 

Untitled.png

 

 

Untitled1.png

i am not too familiar with RUN COMMAND. how would i automatically tell it to stop alarming after it was turned on?

 

nismECATAdapter.dll Not Found Error - cRIO 9082 RT

$
0
0

Hello,

 

I am deploying to a cRIO 9082 Realtime system. During the startup, the console outputs the above error, but I can't find anything referencing this dll online. It's like it doesn't exist. My best guess is that it's an NI EtherCAT Adapter? Here is the complete startup Console output:

----

Datalight Reliance v2.10.1053
Copyright (c) 2003-2006 Datalight, Inc.

LabVIEW Real-Time Executive
Build Time: Jun 5 2014 14:22:59
(C) Copyright 2002-2014 National Instruments Corporation

MAX system identification name: Chassis1
LabVIEW Real-Time SMP Kernel: CPU cores found: 2
Initializing network...
Dev|Op M|Link|Driver|MAC Address |IP Address /Mask|Adapter Mode
* 1|Int |U |i1000e|00802F17EE7A|10.0.1.241 /24|TCP/IP (static)
Dev|Op M|Link|Driver|MAC Address |IP Address /Mask|Adapter Mode
2|Int |- |nigev |00802F17EE7B|- -|Disabled
Time sync source: ptp now active
Device 00802F17EE7A is now connected
System Web Server started
Application Web Server started
Error! nismECATAdapter.dll not found! (dependency)
SoftMotion Module initialized.
NI Scan Engine initialized.
NI-RIO Server 14.0.1 started successfully.

Startup Application: c:\ni-rt\startup\startup.rtexe

NI-VISA Server 14.0 started successfully.

Welcome to LabVIEW Real-Time 14.0

--

 

Hopefully someone out there has seen this dll before?

 

Thanks,


How can I connect a half bridge to the NI 9237?

$
0
0

I know how to sample signals in a quarter bridge by connecting NI 9944 to the NI 9237, but I am always confused when in a half or full bridge.

If I need some 9944s and strains to build a half bridge and then conect the brige to 9237 by RJ-50 directly in the same way as  sampling signals in a quarter bridge , or cut one end of RJ-50 and connect 10 lines with different meanings in RJ-50 to the corresponding signals in a half bridge constructing by only four strains and with no 9944s?

Thanks

Is it a problem caused by different versions?

$
0
0

My classmate sent me a vi and I modifyed it, but there is a problem when I run the FPGA (host) vi

how to find peak value and valley value

$
0
0

helo everyone

 

i'm rai

 

i have some problem, i can not find peak value and valley value from my signal, maybe can you help me?

how to find peak value and valley value with using peak detector ? 

How to decode Google map polyline from 64base to decimal number

$
0
0

I need help decoding Google map polyline ASCII characters to decimal point. Can someone please help, I have tried few example on NI website but they do not produce desired results. I need something that is going to work like Googles decoder utility here. They have explanation how to encode here. It there some function in Labview that can do this.

how concrete two diffrent type data for writing to Excel file?

$
0
0

hello

 

I want concrete two diffrent type data for writing to Excel file. how can i do it?

actually, I want save numeric data, like level of reservoir in 24 hours along with it's date. example:

                            1           2            3              4

24/10/2014        50        70          49          49 

 

 

type of date and levels are different. in addition, Excel should be support this combination in the same time.

is there any idea?

 

 

Best Regards.

why Excel insert cell block, hasn't input for data input?

$
0
0

Hi

I found a block for insert new row in excel, but there is no input for data input. how should I insert data by this block to excel file? can you help me?

Best Reagards

3d Surface plot in 2013 - Z axis range input or property node doesn't get updated on the graph

$
0
0

I point the problem to the  ( 3D_Plot.lvclass.graph Update.vi).

Can someone confirm this?


closing references - when

$
0
0

Hello,

 

I have small question about closing references.

When writing some programs I usually open reference in one place store it in some shift register or fgv and usewhen I need like in case 1. Then I close reference on aplication exit so memory leak wont happen.

 

I wonder why case 2 works fine. I have opened reference used it and then closed. So property where I write 1 shouldn't  return error? 

Need to get travel time of each echo

$
0
0

Hi,  

 

I want to calculate the travel time of an echo.  

 

The data I have, is a triggered pulse and 4 echoes in a single graph at different  time intervals.  

 

Now, I want to calculate the travel time of each echo from triggered pulse start.  

 

Method I want to use,  

 

1. Calculate first trigger point.

2. Get the end of waveform and gate the data.

3. Again repeat step 1 and 2 , to get first trigger point.  

 

Is there any way to calculate the point where waveform ends or is almost constant?  

 

Or, is there any other method to calculate travel times.  

 

I am new to LabVIEW.Please help.  

 

Thanks, Amit

how to send different characters by one button

$
0
0

Hello!

 

I want to send  two hex string (0x02 and 0x03) to bluetooth device by pressing  and releasing button with "switch when pressed" behavior. 

 

I've done with sending 02 string  when i pressed button, and now i'm confused about how to send 03 string  when i release button. Most important it need to be just single sendings every time.

 

In code - two loops, with real device connection and with led for test.  Thank you.

 

blink.png

 

 

 

 

 

missing help section for "Boolean array to number"

$
0
0

While Playing around with this, I noticed that "Boolean array to number" has a right-click option for the sign extension mode.

 

For some reason these options are not explained or described anywhere in the help. In fact, some of the statements in the help depend on the sign extension mode setting and are thus probably not always correct. I would say this is a decumentation problem and should be fixed.

 

(reported here).

SubVI with Case and Local Variables

$
0
0

Hello,

 

My calling code doesn't behave like the subvi.  The subvi has the local variable and property node (SP) in multiple locations.  The calling code SP values don't behave the same, all of the other logic works correctly.  Is there a way to make the calling code SP control behave the same as the subVI SP control ?

 

If I create the subvi by enveloping the case statement and letting Labview build the subvi it works but the code that labview creates is something I don't understand. 

 

Thank You  

Viewing all 67075 articles
Browse latest View live