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

Remote Panel / Error 1352

$
0
0

Dear Community,

 

I upgraded a project with use of remote panel calls from LabVIEW 2011 (Windows 7) to a new PC with LabVIEW 2018 SP1 (Windows 10) and can't get it running. I searched a lot of posts, but most of them seem to be relatively old.

 I can't even get the NI example "Remote Panel Methods.lvproj" running with any LabVIEW revision. I tried at least 4 PCs with Windows 10 and also Windows 7 (LabVIEW 2011).  I tried to build the client of the example as an executable and ran the server in the development environment...still not working. The error most time is 1352 "Requested VI is not loaded into memory on the server computer". All of this doesn't make sense in the case of this small example.

I enabled the Webserver, configured the port, enabled access, disabled the firewall, disabled other networking cards...I know that client and server need to have the same LabVIEW revision.

No idea anymore. Can anyone try to get the shipped example running and post his experiences with it?

 

Thanks a lot!

Nicole


VIPM -Product Activation

$
0
0

Hello,

 

I can't run VIPM because my resgistration is expired 

 

Direct streaming to disk is much slower than the convinient one. Error 200560.

$
0
0

I usually measure and process (real time) 1) magnetic hysteresis (MH) loops and 2) Barkhausen noise (BN) simultaneously.

1) For MH-loops I use the PCIe6351 card.

AIN: 5 channels at 50kSs (3 of them for Hall sensors). Process all of them  on the fly.

AO: 2 channels, one for triangular waveform with 1-bit resolution.

2) For BN I use PCIe6361 card.

AI: 1 channel at 1MSs. Calculate RMS and ARV from each 1-10 msec. If I need the lock-in instead of BN, I process the signal by mixing with sin(t) and cos(t). For BN the signal is filtered by the Butterworth Filter VI. There is an option to save raw BN file.

AO: 1 channel. Sinusoidal waveform generation for lock-in measurements.

 

All these tasks run in parallel without errors (no raw BN saving at 1MSs ) up to 100 sec measuring time (I simply did not make longer measurements). I attached the screenshot of the BN part of the measurement.

If I choose "raw BN saving at 1MSs", then I can measure up to 20 seconds if I am lucky - the file size up to 260 MB. After this time I get an error that some data is lost.

It is not enough for me, I need raw data up to 100 seconds.

 

I decided to use the  direct streaming to TDMS with no processing. I opened the example "TDMS Logging - Log Data Only.vi", tried it at 500kSs for 100 seconds, but always after 13 seconds appr. I got "Error -200560 occurred".

 

I am shocked - only one direct streaming (one card, 1 channel) is several times slower than the convenient NiDaqmx streaming (two cards, two AO and two AI) with many other tasks in parallel. How is it possible?

Is there a way to stream to RAM, say up to 1-2Gb and then save to a disk?

 

Measure current at NI Switch RS 232 serial port by using a Calibrator connected to the NI Switch through GPIB

$
0
0

I have a microcontroller system that is connected to a National Instruments PXI Switch through RS 232 serial port. I need to read the current from this microcontroller system at this com port of NI Switch. This NI Switch is connected to a martel calibrator 3001 using GPIB. I am thinking this calibrator is used to actually measure the value. But how will I program this in LabVIEW. That is current to be measured flows from microcontroller testing system to NI Switch through RS 232 com serial port and this value is measured using Martel Calibrator connected to the NI Switch using GPIB. 

LXI Power Supply extends LabVIEW Executable Start Time

$
0
0

I have built a PXI System (1085 chassis, with various PXI Instruments and an LXI Power Supply (from TDK Lambda) that is connected to the PXI Controller via a USB to Ethernet converter).  The PXI Controller is running Win7 Professional (64-BIT) and I have installed TestStand 2019 (32 and 64 BIT versions), LabVIEW RTE and instrument drivers for the PXI instruments and the LXI Power Supply. I have configured NI-MAX and see all of the instruments (I am happy the Ethernet Connectivity between Power Supply and PXI Controller is good).

 

When I run a LabVIEW Executable on my system, irrespective of whether the Executable interacts with any instrumentation I get the following behaviour: (NOTE: For testing the behaviour described below I have created a VI that simply contains a While Loop, Stop Button and a 200ms Delay inside the loop.  To be clear my VI does not make any instrument calls):

 

  1. With the LXI Power Supply disconnected from the system (I did this by disconnecting the Ethernet lead from the USB to Ethernet Converter), my Test LabVIEW Executable takes 1-2 seconds to start 😊.
  2. With the LXI Power Supply connected to the system, my Test LabVIEW Executable takes 24 seconds to start ☹️.

When I say takes 24 seconds to start I mean the time taken from double clicking the LabVIEW Executable to the executable icon being displayed on the windows taskbar (and the VI Front Panel being displayed).

 

Any thoughts on why executable start time would be extended in this way and how to remove the delay would be greatly appreciated?

 

Steve

Connecting Redlab-TEMP with labview for measuing thermocouples

$
0
0

Hello,

I want to connect RedLab USB-TEMP with Labview to measure thermocouples. I have installed LV drivers but it is not working. Please provide me some suggestions. Thank you.

Split an array in more part depending of a comparison

$
0
0

Hi to everyone, 

 

I have a problem. 

Starting from 2 arrays I would like to split one based on the values of the second one. 

 

Ex. A= [ 1 2 3 4 5 6 7 8 9 10] B = [ 3 8 ] 

Result arrays wanted:  C = [ 1 2 3] D= [ 4 5 6 7 8] E=[ 9 10 ]

 

The lengths of the two array are variable.  

Do you have any suggestions? 

 

Thank you so much in advance. 

 

Rebecca 

 

CWGraph3D Axis rotation

$
0
0

Hi All,

 

I have created a simple 3D chart using Plot3DSimpleSurface() funtion.

Chart is working fine.

 

When I rotate the chart Grid XZ and GridYZ starts blocking the view. I mean we start seeing these two grid.

What I want is if there is a way to switch these grid/axis when we rotate the chart; so all the time user see the data instead of grids. Somehow I would like to invert the grids/axis.

 

First image is "Normal_View".

Normal_View.png

 

This is the problematic view; here i want to switch/invert the axis. 

Problematic_View.png

 

Please let me know how can I achieve this.

 

Thanks,
Shashank

  


Custom install directory for installer

$
0
0

How to change (and where is this option) standard software directory on disk, when installing the software. LabView Fall 2019 Student Edition.

Keithley 2450, Switchsystem 3706A with 3732 Matrixkarte communication

$
0
0

Hello,

 

i want to measure a resistor with a 2450 SMU by Keithley. With the systemswitch 3706A and the matrixcard 3732 i want to change between some measuring points. This means i want to close some Channels, measure the resistor and finally open the channel to change the measuring points. 

 

The drivers are implemented at LabVIEW and they work. For example, I initialize the SMU 2450, then I want to close a channel an start the measure. It doesn't work. 

Measuring the resistor only with the 2450 is fine and works. Closing and Opening a Channel only with 3732 is even no problem.

But when they work together it doesn't work 😞

How can I give a command from the 2450 to the 3706A to close the channel or to open a channel?

 

Can someone answer my Question? 

Populate a Cluster Boolean array Labels

$
0
0

I am using LabVIEW 2016. This will used in an Executable. I would like to be able to change the labels on the Cluster of each Boolean Control. Channel Selection Cluster has 16 Controls named CH1 ... CH16. I have a string of Channel Names that I would like to use to replace the Channel Selection Boolean Control labels.  

Simular multiples esclavos modbus tcp

Export VI from LabView project with dependencies

$
0
0

Hello,

 

I have been working on a new LabView project for a couple of months.  I found an older LabView library with some useful functionality for what I am working on.  The older library is very large, so I do not want to add all of it to my newer project. 

 

I would like to export just a single VI from the older project along with its dependencies, but I do not see any method for doing this.  Is there a way to do this?  The VI I would like to export has 90 dependencies; if it was only a couple I would just copy and paste, but this is too many for that.

Packing and unpacking bits

$
0
0

Hi,

I'm trying to perform bit manipulation for my udp communication protocol where I'm packing different bits into an unsigned integer and then retrieving the individual bits. The issue is that the data doesn't seem to map into an 8 bit integer but rather coming out as separate bytes when I view the manipulated data on wireshark. Please see attached sample code to see what I might be doing wrong.

Thanks

Case structure:Selector values are not unique

$
0
0

Error.PNG

Hi Everyone,

I am sai and currently working on a project with LabVIEW. I have come across an error that says "A selector value is used by more than one case. It may be in the middle of a range in one of the cases".

 

I am working with a vi that controls the motion of the controllers, there are two controllers one for the x-axis and another for the y-axis. There are around 20 cases in the vi, I am unable to detect the error because when I run the project, it redirects to the error in whichever case I am working with.

 

Any help would be highly appreciated.

 

Thank you


Reg Event Callback Functionality doesn't work with .NET Sapera SDK

$
0
0

Hi Group,

I'm working on CameraLink device with DALSA Framegrabber, and I'm trying to grab camera frames to LabVIEW for further processing. I tried to use "Reg Event Callback Functionality" with acquisition events like EndOfFrame.

Based on Sapera SDK [1] Examples all acquisition events works fine with .NET application and WindowsForms. However when I extract common functionality into DLL and run it from LabVIEW, I don't see any events handled, even inside DLL.

I've prepared basic test that works in C# (see sample) but it doesn't receive any event in LabVIEW. It should handle error event as I don't have a server no. 4. In Sapera logs I see that the error is logged in case of triggering error event, but all other logs are the same as when running in .NET.

Do you know what I can try to make it running, as Sapera support replied that they don't see any issues with my code from their side?

What can be different between running .NET application vs. LabVIEW that might impact this behaviour?

Kind regards

RP

generate_error_vi.PNG

Static VI (when running it is never called):

handle_error_vi.PNG

[1] https://www.teledynedalsa.com/en/products/imaging/vision-software/sapera-lt/

 

C# source:

static private void ErrorHandler(object sender, SapErrorEventArgs e) { SapManager.DisplayMessage(e.Message); // throws stack overflow, but is triggered! } static void Main(){ SapManager.Error += ErrorHandler; SapManager.DisplayStatusMode = SapManager.StatusMode.Event; SapManager.GetServerName(4); }

 

XY-Plot has weird output of unspecified data

$
0
0

Hello,
i'm just testing my VI atm and wanted to save some datapoints in shiftregisters to plot them in a xy-graph.
It plots datapoints i never calculate, is anyone able to figure out why?
Screenshot and VI are attached.

2020-05-05_18h59_14.png

Use prompt message to add new data to spreadsheet file

$
0
0

I have built a small search engine over a spreadsheet file that represents a virtual library. The initial data is filtered to an 2D as illustrated in (figure 1). If by chance I am searching for a book that's missing in the data set, it is used a prompt message subvi that gives freedom to create a new entry for the data set, in this case a new book (figure 2).

The original csv/txt file is changed in this part of the program. My issue is that althought this new book appears in a good fashion at the end of the file (figure 3), it is not recognized by the search engine itself (that's the meaning of the message appearing in the last picture in portuguese).

I tried already several ways to convert data from the bundled prompt message to the write to spreadsheet function, with no success. Figure 4 shows the kind of techiques I am trying to apply, form a direct prompt message-> build array-> write to spreadsheet toiInserting formating data functions, this case str to byte and byte to str, and using array to spreadsheet string and spreadsheet string to array.

believe it has something to do with this prompt message function, but also I may be overlooking something fundamental about data formating between different softwares. Any insight into this issue welcome, and thank you for your time!

cannot run debugger for startup.exe

$
0
0

I'm trying to run the debugger for my startup.exe.  The main VI deploys and runs from the Project Explorer, except it looses communication with the Target while the Ballard cards are being configured (SR #7761927).  It encounters this problem about four times (apparently one for each card) before completing deployment and running.  It takes a few minutes to complete.  I know it is running because the VI front panel has an LED indicator that blinks when it is running.

When I run Operate->Debug Application or Shared Library and give it the IP address of the PXIe I get the following error "Failed to lookup debuggable applications or shared libraries." I have checked the "Enable debugging" box in the Advanced page of the Application Builder.  I wait at least 5 minutes before attempting to run the debugger.  Is my debug problem due to the loss of communication?

LabVIEW 2020 TLS Question

Viewing all 69659 articles
Browse latest View live


Latest Images

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