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

Weird Call Library Node problem...

$
0
0

All,

I'm stumped on an issue. I have created both a DLL and a linux shared object from the same source. I wrap these libraries with LabVIEW for execution. One of the functions exported by the library is not being loaded by LabVIEW when running on NI-Linux (cRIO-9068, LabVIEW 2015sp1). All functions execute just fine on windows.

This function is created and exported just like all the others. The other functions load and execute just fine on the cRIO. However, the function "void CPG(void)" fails to load giving the following error

 

LVRT_error.PNG 

 

It seems that the function is being exported properly. Here is the output of Dependency Walker on the windows DLL compilation:

Depends.PNG

I can equally analyze the exports from the shared library using:

nm -D -C --defined-only -g ./librobotwrapper.so

the output here seems to indicate the function is exported just fine:

NM_output.PNG

Yet, the error from LabVIEW is not referencing the function "CPG" but what appears to be a mangled function name "CPG:C". Neither Dependency Walker (windows) nor NM (linux) indicate any name mangling. And, as I mentioned all other functions exported successfully load and execute except this one. In fact, these graphics where made with a modified source where the guts of the CPG() function have been ALL commented out. This appears to be entirely a LabVIEW linker issue. I created a second 'deleteme.vi' with a fresh Call Library Node and got the same results. See below,

CLN.PNG

 

 I'm completely stumped here. Is there something simple that I'm just not seeing?

 

Thanks in advance.

 

 


Network busy in Executable, but OK in LIB VI

$
0
0

Hi guys,

So I have an application that is made to communicate between 2 separate computers using the stream functions.  It work's great in the normal project/VI, but when I make the Client side VI into a .exe, it always says the network stream is busy.  Error picture is attached.

 

Any ideas?

Reading Digital meter relay via RS232

$
0
0

Dear somone,

I have a DIGITAL METER RELAY with the purpose:

(1) Read voltage from my sensor => ok

(2) Recording data to Computer =>? 

(3) Auto-control output of relay =>?

Now I need to record the data to my computer via RS232, so I do not how to write the code for that.

Beside that, I can not understand the communication command from manual of company.

Please help me!!!!

Labview deployed to singleboard computer with windows OS

$
0
0
Hello, I have develop a labVIEW program using the USRP and IMAQ modules/toolkits and build an executable on my desktop computer. Also, will probably have to install the run time engine on the SBC. Is it possible to open the executable/installer on the single board computers (like the LattePanda or the sbc-b68)? Thanks.

Ardunio + easyVR shield with labview

$
0
0

Hi 

I'm trying to interface easyVR shield with LabVIEW, but it does not work 

I used LINX library (open, write, close) and the easyVR shield is placed on the Arduino board. Do I need another library for the easyVR shield in LabVIEW? 

 

thank you  

SERDES CLIP in External clock data Acquisition in Flex RIO

$
0
0

Can anyone explain the detailed structure of an SERDES Connector CLIP

in LabVIEW programming Flex RIO.

 

Additionally,

  1. How do the acquisition bits get arranged, with respect to each Channel Data?!
  2. How does the samples to be read considered?!!!
  3. If I have 16 LVDS Channels, how can I acquire each channels data considering each Lane to reconstruct separately.

Note: 

I have seen examples and stuffs related to flex-rio programming but there's no particular explanation for this CLIP, Where things go in deep with high importance.

 

KT is worth it!! Cause you are storing things permanently in your Brain Smiley Wink

[Visa/RS232] reading data stream of uncertain length

$
0
0

Hallo,

 

I try to find a solution for the following problem.

 

The device sends me after starting the measurement, the acquired data points in a continuous stream with a certain rate. Usually I'm just using a loop with the "Visa Read.vi" read the data point one after the other, which works fine as long as I know the exact number of data points.

 

The problem is that the device has mode for fast measurements where I don't know the number of data points, therefore I'm looking for an elegant solution to close the loop, when the stream has finished.

 

Does anyone has an idea?

how to update windspee on front panel from any website?

$
0
0

Hi 

i want to display wind speed on my front panel. labview should get wind speed from any web address.

how can i do that?

any idea?

 

Thanks,

Asif Iqbal


error reading data using usb raw class

$
0
0

Hello , i am trying to transfer 1024 bytes of data from cypress ez usb to labview but sometimes when i run the program i am getting errors like below , not only in labview but also in NI MAX. kindly suggest me some solution 

LabVIEW Home Bundle

$
0
0

I am using LabView Full Development system at work and was thinking about using labview at home, car and so on.

Can the LabVIEW Home Bundle create an .exe file to be able to install on any pc output LabVIEW Home Bundle installed?

writing labview driver

$
0
0

Hello all, I have an USB 4 relay board, K138402BSJH 1982-USB4Ch. It doesn't come with any Labview drivers that I can use. It is and FTDI chip. I should be able to access the low level functions of this board but do not know where to start with Labview on this. Not sure I'm even asking the question correctly. Where do I start with something like this. Just point me in the right direction please. I will do the research but do not even know where to start.

State Machine Data Acquisition

$
0
0

I am trying to write a vi to collect data and allow the user to input header information and setup any parameters. Following the example for a state machine, the data will be acquired and written to file in one state. The header information, data analysis parameters, and file name created in another. The user will enter the information and start the data acquire state when ready to take a measurement. I noticed that if the state is running and the user selects another state the user loses ability to click any other state or abort button. It seems that once the loop in state 1 loses the focus I can not get it back unless I stop the vi and start again. I can disable all other buttons or options while in state 1 however I wanted to see if another more appropriate solution exists. I attached a sample of what I am trying to do. I left out the data acquire component that would run inside the loop of state 1.

 

An absurd execution by LabVIEW

$
0
0

Hi,

In my project I need to monitor the input values of a control to check for a particular condition, but Labview is not working as expected, even if the condition is met, the boolean output is not changing. Please help.Screenshot_6.pngScreenshot_7.png

 

 

 

RS485

$
0
0

I´m not sure if i´m right with my question.

I want to test a device with RS485 and need an example for the command

 

Command Frame Image 

DMY/STX/ID/Command data/EXT/BCC

 

DMY: Dummy data: 7Fh

STX : Start text: 02h

ID: Slave ID [2bytes]: (ASCII)

Command data: Variable length data: (ASCII)

EXT: End text: 03h

BCC: BCC error detection between ID and EXT (1 Byte)

 

Command Code  example "03" for INQUIRY (Reading)

 

Communication with Standard RS232 devices is no Problem for me. But These are clear ASCII commands. 

What for a string must i build for a INQUIRY command?

 

Thank you very much in advance

 

Table Cell value suggestion while editing

$
0
0

Hello friends,

I have a table with many rows and columns. when I want add a new value, I would like show suggestions(something like google) for the cell being edited. For instance,

I have a column with values like,

T1_RawData

T1_SamplingTime

T1_Torque

.

.

.

Say,when I add a new value in the column and for instance, if I type 

T1_R   I should get T1_RawData from the software- because it is in the same column.

Is it possible with property of the table? I would do something, if manged to get cell value while editing but I can read the values only after the Value Change event. So I don't know what to do at this stage.  Any suggestions from the experts?

 

 

Merci.

 

 

 


delayed synchronized AO from AI

$
0
0

Hello,

I am trying to run a re-triggered finite acquisition and then with some delay output that captured data on an analog output channel.  I have the analog input using a reference trigger, using pre-trigger signals, and use an external digital edge trigger to start the output.  The length of my signal is ~40 msecs and will be transmitting sometime after the whole signal is captured.

The vi appears to be working, I can capture multiple triggers of the analog input signal, and output the AO signal.  My problem is that on the first trigger of AI data there is no AO.  On subsequent triggers the AO will output the data captured in the previous trigger.  I am not sure how to resolve this.  Any help is appreciated.  Thanks, whits

 

 

I am using a PXIe-6363.   

What am I doing wrong with my code?

$
0
0

I'm sure there are a number of things I'm doing wrong, but if I can just get this to "work" that would be great for now.

 

Goal: Data log Tc's every 60sec as well as "fuel weight".

  • Be able to turn "pumps" on manually with switch, "pumps" turn off when fuel weight reaches a certain numeric value.

So I've made an even bigger mess now. I've got the "pumps" to turn on and off with the switch manually, but not turn off based on the numeric value.

The indicator for "fuel weight" Turns on/off at the appropriate time based on the numeric, but only when it's outside of the event structure.

The system wont data log unless there is a timeout value for the event structure, or it will only log when some event occurs inside the structure.

Need a little help sorting things out, Thanks Smiley Happy

LabView 2014sp1, with fieldpoint drivers V15.0

Help with sequential testing

$
0
0

Hello,

 

I am trying to create a test that uses Labview to interface with an arduino that turns on and off relays. The example code I have included is what i want it to do, but it uses a lot of local variables. I was wondering if someone has a better idea on what to do. If possible I would like to be able to reset all of the indicators and controls back to default state at the beginning of a test (I wasn't able to figure out how to do that). 

 

(I am just using constants to prove my point so I didn't put the Arduino (LINX) sub vi's in the code)

 

Thanks.

Calculate SNR/SFDR from spectrum

$
0
0

I have spectrum. How to calculate SNR/SFDR from spectrum? Spectrum.png

 

 

One subpalette in a foreign language

$
0
0

The System configuration subpalette some how changed to a different language (quite sure it was not that way on install) LV17. How do I change them back to english? all other subpalette items are fine. 

 

I was looking to use these but I would like it in a language I can read.. 

 

I was able to find the specific msi and did a reinstall and that seems to have worked

Viewing all 66852 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>