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

Automate build process on Real Time Target

$
0
0

Hi, 

 What is the command to automate build of labview project on Real Time target through command prompt? I have tried the below command

"Path of LabVIEW.exe" "Path of Programmatic build Command line target.vi" -- "Path of labview project(.lvproj)" "Build Specification Name" "Target Name"

In my case Target Name is "RT PXI Target" and Build Specification Name is "My Real-Time Application".

Hence i gave the command as 

"Path of LabVIEW.exe" "Path of Programmatic build Command line target.vi" -- "Path of labview project(.lvproj)" "My Real-Time Application" "RT PXI Target"

 

But still the vi is taking the Target Name as My Computer and check the Build Specification name in the target "My Computer".

 

Anyone please help me to solve this issue. Whether the command and the argument passed through it is correct? If not, Please tell me what is wrong and tell me the right way to automate the build process on Real Time Target.


Writing spectrum analyzer trace in excel sheet columns

$
0
0

Hi,

I am using R & S  FSL Spectrum analyzer. I want to store the trace of each sweep in columns of an excel sheet.

I am using the write to measurement file VI. But I am unable to write new sweep data in next column.

Can you please help me in writing the multiple sweeps in multiple columns in an excel sheet.

 

Example:

sweep 1 ---> write to column 2

sweep 2 ---> write to column 3

''

''

''

sweep 1000---> write to column 1000

PXIe 7842 Query's

$
0
0
Hi, which all are the labview version will support for pxi 7842 ?

Peut-on modifier la sensibilité d'un graphe déroulant ?

$
0
0

Bonjour bonjour, tout est dit dans le titre de ma publication. 

j'aimerai savoir si il y a une possibilité de diminuer la sensibilité d'un graphe déroulant?! 

le problème c'est que le graphe m'affiche des variations très petites que je ne veux pas prendre en compte et je n'ai pas pu les éliminer car j'utilise peak detector pour avoir ces valeurs.

déroulant.PNG

Peut-on modifier la sensibilité d'un graphe déroulant ?

TCP/IP program clarification

$
0
0

Hello everyone.

 

Can somebody explain to me what is going on with the following TCP/IP program?

1 corresponds to the main program. Send1_1, Send1_2 are the subVI (two different conditions).

 

Thanks in advance.

Systemlink with Webservice

LabVIEW-Multisim Co-Simulation


Can Application Builder on Win10 generate for Linux?

$
0
0

So there's an app that I built to give away free. It does only just math: calculations for design of a small loop transmitting antenna. It writes no file. It only does math in a loop and shows results on-screen. I built that as an app for Win10, but there are folks on Linux who'd also like it. What to do?

creating and working a myRIO project without connecting to myRIO hardware

$
0
0

Greetings everyone!  First the question, then the background:  In LabVIEW myRIO 2017, is there a way to create a myRIO project without actually being connected to the myRIO hardware?  When we try using Generic Target, we end up with empty function and controls pallets.

 

I've attached screen shots of the various steps we've taken and errors that we've encountered.

 

software: LabVIEW 2017 myRIO, which I understand is a LabVIEW NXG platform.

hardware: myRIO 1900 (USB 2.0, Wi-Fi)

 

As a bit of background, I'm a robotics teacher at a local vocational school and this semester I'm embarking on teaching the students some essentials of LabView.  The grand scheme is after 4 years to have our high school students leave with essential knowledge of programming across multiple platforms (C++, PLC / ladder logic, LabView as well as perhaps a bit of Arduino if time allows).  I have a bit of LabView experience but am new to the myRIO hardware platform.

 

My students are working in pairs with one myRIO per pair.  (Each student has their own LabView seat license, but we only had budget for 1 hardware kit per 2 students.)  I want each person to construct their own projects in LabView to read their ambient light sensor, but in order to create a myRIO project, it appears that each student must remain connected to their myRIO.

 

Any help would be greatly appreciated.

 

Dan

Dependancy issues

$
0
0

Hello , 

 

I am using the ULx For labview for talking to measurement computing DAQ  USB-1408FS. The issue I am having is attached.

 

It is looking for a specific path which I do not have , I am using labview 2017. 

 

Please can someone guide me how to fix this issue.

 

Thanks,

Manreet

Why doesn't LabVIEW remember resolved conflicts?

$
0
0

This is something that has bothered me probably since the inception of the Project Explorer.

 

When a project gets "conflits" for whatever reason, from then on every time I load a top level VI from that project I have to resolve the same conflicts. 

 

Why can't LabVIEW "write this information down" somewhere so I don't have to resolve the same conflicts everytime I open the VI until the end of time.

Problems compiling a Simulink Model with NI Veristand 2018

$
0
0

Hi, 

 

I was trying to compile a super simple model that I built in Simulink 2018 (see fig. attached) with Veristand 2018 but it did not work. I checked the compatibility and they seem compatible according to the following link: http://www.ni.com/product-documentation/54028/en/

 

This is the error that appears in the Diagnostic Viewer in the Simulink:

 

Error: File: C:\VeriStand\2018\ModelInterface\tmw\codegen\NIVeriStand_codegen.tlc Line: 293 Column: 56 Undefined identifier getValueText​

 

 

Right-Click menu appears as default in build even when it was configured to be disabled during development

$
0
0

The right click was disabled for graphs by creating a custom RTM file. In development environment, when I run the VI, it seems to work just fine. I built the exe and ran it, the right click context menu appears.
Why is this so?

Can child accessors return different data types from parents?

$
0
0

Basically I want to be able to do the following, but with my own classes:

 

Variant vs concrete.png

 

I can call the property node "Value" on a Numeric control, a String control, or a generic Control, and I get different data types depending on which specific reference I call. Can I get this behavior with LVOOP classes, where I could return child-specific values when wiring with a child wire, but a variant (or other) when wired with a parent wire?

 

I don't believe these control properties are implemented as standard LVOOP classes (hence the awesome QControls). I'd like to be able to define some sort of hierarchy where a parent class returns a variant, but child classes can return their own specific datatype similar to the way "Numeric" controls are handled versus a generic "Control".

 

I can't have a parent class called "GetValue" with Variant as an output, as my Child classes would have to have their overrides return a variant as well. I could have a parent GetValue that calls private "GetChildValue" methods that children must override with their implementation of "Convert to Variant", but then I'm not allowed to have a child GetValue that returns the specific child data type, as I'd have already used that name in the child class.

 

I wonder if this is possible using malleable VI's (which I haven't used yet but look promising. I also wonder if I'm overthinking things, and there's a really simple way to do this, or if I'm trying to pick at an anti-pattern. Since LV does it internally it seems like it's a good way to go if I could figure it out Smiley Happy

 

(To answer "What are you really trying to do here?", I'd like to implement something very similar to the above but that returns an array of U8's that represent each subtype as a flattened byte array. Each of my subtypes have an element that's a certain value type, but has more information than JUST an I32 or String or whatever.)


Comparing array values

$
0
0

I'm trying to create a VI that monitors temperature and flow data and issues a warning when it's slightly out of spec and shuts off when it's really out of spec. I have attached my VI, but I'm having a problem with comparing arrays of data for the logic flow. It seems that only the first value in the index ever gets looked at because when I crank the 2nd or 3rd value higher than the limit, nothing happens. 

 

I used the compare aggregate feature since I would like 1 boolean operator to serve as an input to my case structure.

 

Any advice would be appreciated, I attached my VI below. 

 

Thanks

Taming LabVIEW's many floating windows in the dev environment, or how to put context help in jail, kind of

$
0
0

This might just be a nirvana solution for LabVIEW devs.  I installed "Actual Window Manager" ($50 shareware with a 60 day trial period) and set up a 1920x1080 panel in the upper right corner of my 2560x1440 monitor.  I dock all front panels and block diagrams in there when I create or first open them.  That gives me a nice 1920x1080 shaped dev area for making GUIs.  There is a panel on the left of the monitor for the other bane of a LabVIEW developer's life, the project explorer.  The lower 360 pixels below the 1920x1080 panel is dedicated to context help and various open file explorer windows. 

 

image.pngThought this was nirvana...

The Project explorer is happy living in its little jail.  Not quite so with Context Help.  It kept breaking out of jail.  Just put it back in its jail and click the tiny lock icon at the bottom.  It will now mostly stay in jail, but there are a few user actions that will auto-unlock it without asking you for your opinion, because no code is perfect I guess, especially the Clippy-era Context Help Window that should have been fixed when MS killed the Clippy.

 

Hope you guys like this potential solution.  I'll post back again after a week and let you know how I do with that 'floating in front of whatever you need' Context Help window.

Conversion 2019 to 2017

convertir archivo 2019 a 2017

Sensor connection with NI DAQ

$
0
0

Hi, I have attached 2 pictures here. I usually connected sensors as shown in picture 1. How can I connect picture 2 type sensors? TIA. 

 

Viewing all 69241 articles
Browse latest View live


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