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

DAbort in fpsane.cpp with new version of .net dll

$
0
0

Hi everyone,

 

my project uses a class and lots of VIs with a self-made .net dll.

 

Now I made a new version of that dll with only minor changes. When I create a new VI from scratch I can use that dll just fine.

 

Now, when I overwrite the old with the new dll and try to open my project, I get a fatal error during loading.

DAbort 0x1A7102DF in fpsane.cpp

Possible Cause: Path\ScriptEngine.lvclass\ScriptEngine.ctl

 

In the control for the class I use .net refnums of that dll.

 

How can I get LabView to use the new version of the dll with the project? None of the functions of the old dll are missing in the new one, there are just additional functions in the new one. Even if I reverse the changes in the dll and build the dll again, this will not work.

 

 

Thx in advance


LabView 2014 drivers for Tektronix 784 scope and AFG 3102 Arbitrary Function Generator?

$
0
0

I'm kind of a LabVIEW newbie and I'm trying to take some LabVIEW code somebody else developed and move it to a different test stand.

 

I'm running LabVIEW 2014 Service Pack 1.

 

I need LabVIEW drivers for a Tektronix 784A oscilloscope and a Tektronix 3102 Arbitrary Function Generator.

 

For the 784A, I can find LabVIEW 2013 drivers but not LabVIEW 2014 drivers.  Will the 2013 drivers work?

 

For the 3102, I can find LabVIEW 8.2.1 and LabVIEW 2015 drivers but not LabVIEW 2014 drivers.  Will one of these drivers work?  If so, which one should I use?

 

Due to corporate software restrictions, I'm not sure I can switch from LabVIEW 2014.  Even if I can, I'd still wind up with a similar problem.  For example, would the 784A LabVIEW 2013 drivers work in LabVIEW 2015?

 

Bob

Properties in Event Editor

$
0
0

OK, has anyone ever seen this?

Bug of the week.png

That's right the default "Event" case is now "Selection Change" and when I open the Event Editor

Capture.PNG

That's not right!

 

i've got a JING of the whole thing here

 

This is LabVIEW 2015 sp1f10.  And this just started today

Attempting to Edit an existing normal event structure pulls up the same "properties for events" list in the event case editor dialog.  Any suggestions?

 

If anypne knows where that lives on disc I'll just delete it and repair

 

Pausing DAQmx between loops

$
0
0

Hello,

I'm performing a force tracing study and I'm trying to develop a program that will write the acquired data to a spreadsheet and then stop DAQmx for 5 seconds between trials to provide the participant rest. In this program the participant is trying to match a force tracing to a sine wave. When I have used the wait function in my program by adding an additional sequence and placing the wait function within it the program waits 5 seconds, but then the sine wave and force tracing show up on the waveform chart with a 5 second delay.

My VI is attached, does anyone know how I can implement a wait period in this program without a delay in the plot?

Start Web Server on sbRIO

$
0
0

Hello,


I'm having difficulty starting the Web Server on an sbRIO-9627. I'm trying to create a project to use the NI Dashboard for Ipad to view and control a program running on the sbRIO RT.

 

At the moment I am able to view data via network shared variables, but would like to use Web Services for other items.

 

I've tried to follow some of the NI tutorials but when launching the Application Web Server I get a message saying my Web Server is not running (see attached picture).

 

I've looked at the Web Configuration and this is disabled. When I try to enable I get a message I need to restart the sbRIO, but when it's restarted, the Web Server is disabled again.

 

Finally looking at the task manager, there looks to be a Web Server service but it is stopped. I can't start it from Task Manager either.

 

Any tips on how to get this working?

Thanks,

Dave

Remise à 0 d'un Sub VI après exécution

$
0
0

Bonjour,

 

Dans le cadre d'un projet j'ai du créer un sous-vi contenant un régulateur PI.  Celui-ci fonctionne parfaitement, mais le problème est que si je tente de relancer ma simulation, mon régulateur garde la valeur de ses actions (proportionnelle et intégrale) de l’exécution précédente. C'est embêtant dans mon cas car le régulateur pilote un moteur en couple. Si par exemple le régulateur avait un MV (Manipulated Value) de 30, je me retrouve avec un couple de 30Nm au au lancement de simulation.

 

Comment pourrais-je réinitialiser le sous-vi au lancement de la simulation? J'ai tenté de mettre les actions intégrales et proportionnelles à 0 mais cela ne change rien. La seule solution que j'ai actuellement est de fermer LabView et de le rouvrir ...

Polymorphic VI Editor Scroll When Dragging Terminal

$
0
0

I have little hope of this actually getting fixed but it is a major annoyance when you are updating polymorphic VIs.  If you have a list of polymorphic VIs, scroll down, open one, then drag a terminal into a structure.  In 2017 it will attempt to auto wire maintaining the connections it had.  When LabVIEW does this for some reason it scrolls the polymorphic window all the way back to the top.  When you have a hundred VIs in a polymorphic VI this constant scrolling back up top is a pain.  Here is a video showing the behavior on a DAQmx polymorphic VI.

 

https://www.screencast.com/t/OCa8mkpBhwdI

 

I have noticed times when this window will scroll to the top randomly during other operations too but this was the one that I could isolate and record.

control of the xilinx nexys 3 with Labview 2017?!

$
0
0

Hi,

Nexys3 board (with spartan6 FPGA) compatible with the FPGA module in labview??? if, yes , how i can to connect the nexys 3 with labview 2017?

Thank you.


Recommendation for QR Bar Code Scanner

$
0
0

I'm looking to create a LabVIEW program that uses a bar code scanner to grab data off a QR code when I scan it.

 

Do you have any recommendations for brands you used and any to say away from?

 

My preference would be for one that acts as a serial port I can communicate with to capture the data, as opposed to one that is strictly a keyboard wedge.  I'm looking at $100 or less.  Usage will be for a few days at a time at a conference exhibit booth.  Wired/USB is acceptable.

 

Thanks for offering any advice or recommendations.

 

NI-Scope Channel or Repeated Capability Name Not Allowed

$
0
0

Hello,

 

I am working with a TestStand sequence that runs some scope configuration and grabs data from an NI-SCOPE.  I haven't had a problem doing that.  However, I am trying to insert a step after configuration before triggering that will use a property node to read back some configured values for me to confirm them (and also to see what the actual sampling rate is, as opposed to the minimum sampling rate).  When I run this step I get the error in the "One_Channel_Set" attached image that says "The channel or repeated capability name is not allowed" (I give it string "2" for the channel, which works on all of my other steps including one that uses a property node).  When I try not to set the channel at all (by removing that element from the property node) I get the error from the "No_Channel_Set" image, which states to specify a channel.  My VI (with the channel configuration element in the property node) is shown in the third attached image.  I am not sure what to do to get these values from the SCOPE.

 

Any help is greatly appreciated.

 

Thanks,

Billy M.

How to implement an Exponentially Modified Gaussian Fit?

$
0
0

Hello, I am trying to find a way to create an Exponentially Modified Gaussian Fit to an array of data. According to labview (http://www.ni.com/white-paper/6954/en/) it's possible to do through the Nonlinear Curve Fit VI and the Error Function VI, but I can't figure out a way to implement it, the formula is available in the link as well. I am looking at chromatography data if that makes a difference.

 

Has anyone found a way to do this? Or would anyone be willing to take a crack at it? I've seen a previous post on the topic where the solution was a polynomial expansion or other numerical approximation of the erf, but my skills are developing and I don't know how to do this either.

 

Attached is a sample array that I would like to be able to fit with the EMG function.

 

Thanks for your time!

 

Modbus RTU485 comm with digital sensor

$
0
0

Hi!

I am all new to LabVIEW and Modbus (bear with me).

I have a digital sensor that communicates via Modbus RTU-485 dongle, 4-wire (outputs 4-20mA, 2-wire). The communication use two separate lines A and B and the dongle connects to a PC through USB.

I want to build a program in LabVIEW that can read and save the data from the sensor in a excel file.

 

The sensor uses Read Input Registers (baud=9600, no parity, 2 stopbits) and Write Holding Registers.

I have started a VI (see attached file) - so far I have setup the serial port, but I am not sure what the next step is and how to work/connect the read/write slave registers..

I appreciate every tip and guidance Smiley Happy

How to check if a Vi clone is still running such that we can interrupt it

$
0
0

Hi all,

 

I am performing an sqlite3 database query using a 3rd party wrapper library. Sometimes, the query can last 7-10 seconds. This causes our software to freeze until the query returns.

 

I've been able to call a function which takes the database reference and interrupts it based on a timer loop. I've included the example here, with a timeout defined as 2000ms.

 

This would normally go and interrupt the query if it takes more than 2 seconds to execute. This works fine. However, if the query terminates early, I'd like to stop the timer to interrupt, otherwise, it might go and interrupt other sql queries that may be running.

 

I would normally use the VI reference for the sql_exec function and check if it is running, but it is reentrant and will likely be running another instance during the 2 second timer.

Single pixel (1px) border missing on LabVIEW windows in Windows 10

$
0
0

Anybody else running LabVIEW 2017 on Windows 10 see a missing pixel along the left, bottom, and right edges of LabVIEW windows when maximized, both in built executables AND in the development environment? By missing, I mean you can see the background image/color of the Windows Desktop.

TL;DR- If anybody knows how to set the color of this pixel (or the width to zero), you're the big winner Smiley Wink

 

I noticed this in one of my applications that runs maximized, and it turns out all of the EXEs from my team have this feature (as opposed to Outlook, Excel, Chrome, etc). After some time spent digging in the EXE ini file, build spec settings, VI window appearance settings, and VI property nodes, I couldn't find anything obvious.

Then I maximized my main VI in the IDE, same thing. Then I maximized a new blank VI, same thing.

 

Looks fine using Alt-PrintScreen (1px border, mid-grey). Looks fine un-maximized (1px border, mid-grey), see attached with MSPaint fill bucket set to red x2. Doesn't matter if the background is set to a picture or solid color, or if the desktop settings > Colors > Accent Color is picked or set to "Automatically pick... from my background". Duplicated the behavior on a Windows 10 box with no LabVIEW IDE (via a LabVIEW executable). Same behavior on 3 external monitors, 1 external HDMI monitor, or just my laptop monitor in both IDE and EXE. Any help is appreciated.

Boolean latching control

$
0
0

Hi Community, 

 

I've recently encountered a problem using labview elapsed timer vi. I would like to control a reset boolean button to make it click for ONE time everytime i press the infuse/withdraw button. Any ideas on how to do it?

 

 Thank you! 


How to save .LVUTF File of Unit Test result in LV Unit Test Framework, Programmatically.

$
0
0

Hello,

I'm trying to save .lvutf file of Unit Test result, programmatically. I'm able to save .html file but didn't get any way to save .lvutf file by code. 

I can save .lvutf file using SAVE option and able to load it using LOAD option MANUALLY in LV Unit Test FW


Note: .lvutf file is very important file which is created after completion of any Unit Test using LabVIEW Unit Test framework. We can use the result (.lvutf File) to see the statistics whenever you will load in UTF Tool provided by LabVIEW. 

2018-03-08_1024.png2018-03-08_1025.png

Data saving from PIC code

$
0
0

hello,

 

I was trying to save my experimental data from PID code. I used the queue options but I can't get any saved file on my computer. I have attached the PID code here. 

Would anyone check and help me to solve the problem? TIA 

web server problem

$
0
0

I am trying to control front panels of RT target VI's remotely.I had followed all the steps from the following link:

http://zone.ni.com/reference/en-XX/help/370622R-01/lvrthowto/remotepanels_regaincontrol/

 

But i am getting the following error:

Make sure labVIEW webserver is enabled on specified server

 

Can anybody suggest some idea to rectify this problem..... I had tried giving both port numbers 80 and 8000.But i am still getting the same error.Please help me as quick as possible

Read input from executable to separate VI

$
0
0

Hey,

 

So I'm trying to read some information into my VI from an executable that was made by a third party using LabVIEW.

 

The .exe (Fianium AOTF Controller) allows the user to activate/deactivate any one of a set of channels to choose what wavelength of light should be output by a laser (so a set of clusters, each containing a wavelength numeric control and a de/activate Boolean control). In my own VI I want to read which wavelength is being output (the wavelength control value for the channel that has Boolean control TRUE).

 

I believe I have the all the VIs/sub-VIs that were used to build the .exe, and found one that outputs a so-called 'megacluster' of parameters including the wavelength and status of each channel. I have tried to use this sub-VI in my own VI to read these parameters (see attached section of code), but the issue is that apparently the .exe no longer updates the values in this sub-VI, so all channels remain in the default inactive state and I read that no light is being sent—output of my attached .vi is always 0, regardless of active channel.

 

While a possible solution is to use the .vi version of the laser software (instead of .exe) to control the light being output, I wondered if there is any way of successfully reading this information from the .exe so that another machine wouldn't need to have all the laser VIs/sub-VIs to be able to run my VI.

 

Thanks,

Kenneth

XNET Interface Mapping

$
0
0

Hello,

 

I was attempting to connect a cDAQ-9178 with three NI 9860s installed and in NI MAX it maps some of the CAN interfaces as 'CAN-1' (see attachment) and does not give me the option to change the interface name. Usually there is no '-' in the name. I did have to update the firmware on these modules to match the version of XNET on the computer, but the problem persisted. I also attempted on a different computer with no issues. In MAX I went through 'Reset Configuration Data', which also did not solve the problem.

 

I had previously connected to many (100+) C-series CAN modules all of which had proper CAN interfaces. 

 

My question is, did XNET run out of 'available' interface names? 

 

Any ideas here?

Viewing all 66786 articles
Browse latest View live


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