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

LabVIEW Bug: "Dynamic IUse Node has no referenced vi..." and vi refuses to compile

$
0
0

We've run smack into a nasty LabVIEW bug.  I've created a support request but I'm wondering if someone here has thoughts.  

 

I have an object "Voltmeter.lvclass" in my code. If I drop an instance of it onto a vi "Flatten Voltmeter.vi" then check in my code, then force sync all my code from SCC such that LabVIEW has to recompile my entire code base, I get errors "Report this problem to National Instruments Tech Support. Dynamic IUse Node has no referenced VI to call...".  Once my source code is open some dynamic dispatch vi's which are in a totally different part of my heirarchy have the error that the VI failed to compile.  I can use CTRL-click on the broken run arrow to recompile it and then all is fine, but, if I check in the recompiled vi to SCC, then force sync all code from SCC the problem persists.

 

This is critical to us because our automatic builder deletes our source code and force syncs to head daily, so we are now getting build failures.

 

 

I am aware of this thread, but, obviously the solution is not a solution in my case:

https://forums.ni.com/t5/LabVIEW/dynamic-IUse-Node-has-no-referenced-VI-to-call/m-p/1002944#M448015


MAX can not launch

$
0
0

hi all friends

my os is win7 sp1 64bit       labview2012

after  I install the DAQ14.0, MAX can not be open , it shows "mxrmcfg.dll" failed to load.

I have seen the related solutions  such as old verision of nisysapi.dll.

but I have checked the verision of nisysapi.dll. is 16.0.0 ,its the newest version.

my mxrmcfg.dll is 5.0  ,so how should i fix it ?

Picture Ring Constant

$
0
0

Have you ever wished you could do something like this:

PRC.png

Unfortunately NI makes it really hard to put picture rings on the block diagram.

Controlling file data

$
0
0

Hello All,

I want to control the file data with the Boolean switch and its working but when i do the case false then also labview is writing a space. 

Can some body help how can i resolve this issue. I want nothing in the file when the case is false.

One more thing if i write some integer in the file then also it writes zero(0) in the file.

Please help me out.

Thanks

Siddharth

I Wanna change text color in Table control

$
0
0

Hi!!

 

Please help me I wanna change text color in Table Control,this table is to get alarms, and put first to high priority, for example the three first cells high priority in red, the second other three cells medium priority in color amber and the rest low priority. 

 

thanks a lot

 

best regards

 

Freelance LabVIEW services

$
0
0

Start up company offering engineering services for good rates. Experience in the following:

RF design/test

LabVIEW programming and development - CLAD certified 

LabWindows/cvi programming and development

Test equipment design

Please feel free to drop me a line to see if we can help.

 

Steve Miles

Email: miles_steve@hotmail.com

Instrument control and data manipulation

$
0
0

Hi,

 

I have been hired as an engineering intern at a company where I have the role of LabVIEW programming. Mainly, I will be working with 3rd party instruments to log data, control instruments, and process the data. Most of these devices are fiberoptics and imaging. I have no prior experience with LabVIEW and I want to complete my role as thoroughly as possible. I completed the "self-paced learning for students" but I still feel extremely adept in the scope of the applications I must complete.

 

If you have any resource suggestions I would greatly appreciate them.

 

My company does not have an SSP contract and many of the tutorials I found I was unable to complete due to my company using the 2012 version of LabVIEW.

 

Thank you for your consideration.

Report Generation - Tall Row (greater than 1 page height)

$
0
0

I am generating reports and have enough text to fit into some test results that it can extend to > 1 page in height.  I really like the way I have this formatted.  The text can be so large because it is a list of flaws found on a test object...if there are many flaws, the field can grow quite large.

 

I've put together the attached VI to show what is occurring.  I'm using CutePDF to print the file.  I don't think this is the problem though.


Using Multiple Calibration Grid Images

$
0
0

Hi Can anyone explain how to calibrate a field of view with multiple calibration grids. I was looking at this resource but it does not detail the steps

http://zone.ni.com/reference/en-XX/help/372916L-01/nivisionconcepts/spatial_calibration_concepts/

I am working on a laser scanning algorithm and want to calibrate the ground plane on which the grids are placed. I have tried the calibration in Vision Assistant but the results are coming out wrong. Can anyone let me know of a good source for information on this

Python Dictionary ported to LabVIEW

$
0
0

I missed having proper hash map dictionaries in LabVIEW and was not happy with the implementation from Bloomy so I implemented a proper dictionary in LabVIEW. Based mostly off of this wonderful talk from one of the core Python developers, it uses 4 arrays to track the keys, values, hashes and index map and 2 ints to keep track of how many elements there are and how many buckets are used in the index map.

 

On average, inserts and gets are much faster than variant attributes, relabels are orders of magnitude faster and deletes are a tad slower.

1000 elements

Capture.PNG

 

Try it out and see if you can squeeze any more performance out of it. I'm not super familiar with the intricacies of the LabVIEW compiler so I'm sure there is something I've overlooked performance-wise but it was pretty fun nonetheless and I'm quite happy with the results.

USB camera to FPGA on CVS-1459RT

$
0
0

HI everybody and thank you for let me learn about this incredible software.

 

I´m already doing my final school project about to recognize:

 

- 3 different colors

- 3 different shapes

- 3 different measure.

 

All in 9 pieces (each piece has 1 color, shape an Measure).

 

Using a CVS-1459RT and camera Basler acA1300-30uc.

 

There is some way to connect or implement the usb3 camera to FPGA module? I mean the PFGA just acquire, then send to host the measures distances, read color and find the pattern. My idea to split the task in each part of CVS is:

 

FPGA --> Acquire image directly with no host intervention --> Send to host

HOST --> Find pattern, Measure distance, read color --> show in front Panel

 

 

cRIO-SQL-instruments or cRio-SQL plus cRio-instruments

$
0
0

hello,

 

if lucky I get to do some instruments in Labview to display data from the testrig.

Is it better, write wfrom the cRio to SQL on a server and then extract the real time data from there, or display the data directly from the cRio. Multiple users can have multiple instruments, will this be too much load on the cRio? Just guessing, could be up to 24 sensors on it. But one instrument may just want to display one or two sensors. And the timesteps could be different. And if I change the name of the database, it would not matter, as the inputs on the cRio dont change.

Boolean Check Box Label Click Changes State

$
0
0

Hello,

 

Most UIs have the functionality of clicking the text label to toggle boolean controls. Is this possible in LabVIEW without using an event structure mouse up event?

 

For example:

2017-05-12 20_22_56-Untitled 5.png

 

Thanks!

Aric

Get Previous date/time String

$
0
0

Hi,All

Is there any method to show the previous date/time string? For example, date/time for today is 20170513. How to get the previous date/time string(20170512)? Thanks a lot.

 

Best,

lh666

 

 

k nearest neighbor example?

$
0
0

I have downloaded the machine language toolkit and the example vi, however, I cannot find any example about k nearest neighbor. So, I try to search some tutorial and build up a knn test code with the toolkit. I have a question here, there is an error 91 occur when running, how can i solve it? Can anyone suggest more detail solution with code diagram for me?


Generate a single tone with specified frequency and amplitude through speaker as per user input

$
0
0

Hello,

 

I am beginner and I want to know how to simply generate a tone with specified frequency, amplitude, sampling frequency and no of samples through speaker (external speaker connected to output port of the DAQ) can anyone help about how to write a LabVIEW code for it

 

 

How to make this code run for duration specified by the user

$
0
0

Hello ,

I am attaching one of the standard examples code from National Instruments this code gives continuous sound output but I want this to run for the duration specified by the user can anyone help me out with this issue??

 

 

 

 

 

Regards

T

Using Modbus RTU to access a loadcell converter and PLC

$
0
0

 Hi, I am trying to set up a system with LabVIEW and modbus RTU to do the following;

 

1. Tell aPLC to operate a motor until one of two sensors (call them a or b) is activated,

2. get three readings from a modbus digital loadcell converter at intervals of about 1 minute,

3. Bundle the readings and the status of the sensors as well as several other sensors from

     the PLC and output them along with time and date to a csv file.

4.  go to the start and repeat forever ( I want this thing to run for at least a year)

I will need to be able to interupt for maintenance.

It would be good to be able to take the data off the master (a laptop) for analysis without interupting the process. Also file size might eventually cause a problem.

It would be nice if an alert could be made if the difference between the average of readings associated with sensor "a" and "b" went over a constant, but I want to implement this as soon as possible so I should only include this option if it is relatively easy.

 

A few pointers as to the best way to set about this would be greatly appreciated. I dont have the DSC or RT platforms only the latest modbus library and library from Plasmionique inc.

 

The PLC is a Barth STG680 MODbus which has its own graphical programming language so I will have to do those processes separately and report the status to registers for reading by the LabVIEW master.

The LabVIEW modbus examples I have seen mostly have a VISA function, I dont think my server devices will be compatible with VISA and I dont really understand what the start and termination blocks represent/what VISA is for?

Any answers greatly appreciated

Ed

 

implement a sigma delta ADC converter

$
0
0

Hi,

i need some helps to solve this problem. I need to create a VI that implement a sigma delta converter. It's really difficult!!!What's the way i need to use to solve this problem as i'm just at a beginning level!!!

need explanation ):

$
0
0

Hi guys..

could you please explain to me in detail the (Rcar code)(see the attachments) ? and how does work?

Thanks in advance...

Viewing all 66670 articles
Browse latest View live


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