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

Continous contour move with NI SoftMotion

$
0
0

Hey everybody,

 

I'm trying to build up a motion loop with the SoftMotion module that is able to run off continously points from my table. After watching the example VI "Continous Coordinate Contour Move.lvproj" it seemed like you have to know the number of points which are updating your table in advance. Because the size of the table was exactly twice as big as there were points in the array that was updating the table and when I varied the size of the table the VI was aborted.

 

Since I use the polyline function to generate my updating points and I therefore don't know the exact amount of points, I wonder if there is any way to update the table without knowing exactly how many points will be provided.

 

Thanks for any help 


Looking to Write vi that will Grab Smaller Sub-images Out of a Gigapixel Photograph

$
0
0

I am looking into developing a program that would be capable of opening a 1 to 6 Gigapixel image (stored either as a Photoshop .psb or a ,jpg format). Once the image is open I want to capture 8K video frame sized images out of the original image. I am a LV programmer with around 22 years of experience developing LV applications. I have never delved into working with images. I also am a photographer that specializes in shooting Gigapixel Wall Mural photos such as the one at this link: http://abbascreationsphotography.com/Cape_Royal_South_East_View.htm

 

I want to create virtual tours of this type of photo that can be edited in 8K video like a time lapse. 8K video has a frame size of 7680×4320 pixels. Therefore, I want to grab 7680×4320 sized blocks out of the original image and store them as individual frames in .jpg files that would become part of a "time lapse" sequence. Ultimately I would like to be able to draw a path onto an overlay of the photo that my LV program would follow grabbing a frame every n pixels as it traces the path through the original image.

 

I envision the following issues:

  1. First challenge would be to import the full image into an array capable of holding it. The image in the link above is 51,928 x 116,112 pixels (6.02 Gigapixels). The jpg file size is 216 MB. Thus, I see me needing an array size of 51,928 x 116,112 with a bit depth of 24 bits for color jpg. The PC I intend to run this on is a 64 bit i7 Hex core CPU and it has 128GB of RAM. I am unsure if LV can handle an array of this size.
  2. The example below that I found here on the forum readily handles 7952 x 5304 pixel image from my Sony A7Rii. However if I try it with a image that is 61368 x 24952 pixels it crashes LV.

So the question is, Am I attempting something that is completely out of LV's capability?

 

 

Installer problem

$
0
0

Hello.

Target PC : WindowXP SP3

Development PC : Windows7/Labview 2012

 

1. This problem did not occur before, but recently (when it is estimated after certain NI update), the build program requires Windows7 or above when running the install program on the target PC, even though the minimum OS is set to WinXP SP3.

-> This is the result of the NI discussion board search, This is an LABVIEW bug that does not support xp anymore, but can choose xp for the build option. But I Success by modifying the minimum OS part of the setup configuration file(.ini) and I can install from the target PC.

VersionNTMin=6,1,7601,1,0 --> VersionNTMin=5,1,2600,3,0

 

But,

2. I had trouble modifying the installation configuration file (.ini) and choosing VISA runime engine as an additional installation program.

Target PC failed install

<"NI-DIM 16.0.0" failed on target PC. Error 1721. This Windows installation package has a problem ... Are you sure you want to continue?>

 

I uninstalled VISA 16.0, installed VISA 5.4 and retried, but returned the same error (NI-DIM 16.0.0 installation failed).

How do I proceed with the installation on my target PC with an installation file containing VISA runtime engine?

 

Thank you.

 

 

LV software Licensing / Activation

$
0
0

My job involves developing LV code for machine automation. 

Mostly I work on not more than two projects at a time so the current Activation of the license upto 3 PCs max, works fine.

I need the design environment for on the machine trials and changes to the build as otherwise I have to build on my laptop and transfer to the machine.

Recently there was a case where I needed more than three and one of the machines was not reachable immediately. So I am building on laptop and transferring to the machine.

 

I searched and got this article : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7WFSA0&l=en-IN 

My query is : They talk of Deactivation. But how will NI know unless it is reflected in their data base … for this we need an internet connection while deactivating ? If not when we try to activate the NI server may complain of too many installations ? 

I am not very clear about this whole process of activation. ( In contrast some other software I have mandate to be connected to the net while deactivating and they also clamp a max number of  : " moves" within one year. ) 

Convert (a VI that relies on a DLL) into a DLL to be called in Python Problem

$
0
0

Hi, 

 

My VI relies on a DLL (lets call A.dll) and it runs successfully in Labview. However, when I convert this VI into a DLL (lets call B.dll) to be called in Python, the functions in A.dll do not work properly. I ensured that A.dll was one of the dependencies for B.dll. Does anyone know why this might be the case? Would very appreciate some feedback

 

How to generate a digital signature for Labview EXE?

$
0
0

 

I have created an executable and when It runs on PC it is deleted by antivirus ( Symantec ) showing the ws.reputation.1 problem in its report. After exploring I found my executable file does not contain a digital signature. Further exploring I found the digital signature can be added from the security option in application builder (screenshot attached). Can someone please tell me how I can create a digital signature which I should browse from the security option. I did find some articles but couldn't understand the process. 

 

digital signature.png

Suitable FPGA board

$
0
0

Hi,

 

Which NI board is suitable to be used for image processing? The details that I want are:

  1. Language: Labview
  2. Applications : Image compression/processing (no need acquisition)

At this moment, I have NI MyRIO-1900. Is it suitable to be used for image processing?

 

Thank you 

LabVIEW v2015 to v2014

$
0
0

Hi, I'am currently using LabVIEW v2015, but I want to save my .vi to LabVIEW 2014 version so i can run the executable application to other PC's that has only LabVIEW 2014 version.

is that possible? if yes please teach me.

 

Thank you in advance...


SMTP - Fully qualified domain name

$
0
0

Hi,

I have a simple SMTP vi, from which I could able to send an Email from my PC but not able to send an EMail using the same program from my colleague's PC. 

The error from the Putty states that there is no fully qualified domain name receiving. 

But when I compare the network settings of mine and colleague, everything looks similar including domain.

Kindly help me on what should I look into. 

Note: I am using Windows 10.... My colleague using Windows 7

Thanks in advance

Where can i download Labview 2018? (without SP1)

$
0
0

Hello,

where can i download LabVIEW 2018 without SP1?

On the website in the download area ar only the Runtimes listed and some evaluation-licencefiles.

Thanks

Measurement & Automation Explorer (MAX) problem

$
0
0

Hello, 

 

I have two data acquisition system (DAU) where I collect data from pressure sensors and process it. I use both DAUs remotely. Recently, in order to see PXIe-4300 module on one of DAUs works or not; I connected TB-4300B terminal block to this module, then feed with a signal through its one channel and tried to see the same signal via NI-MAX. However, NI-MAX crashed right away. Now, every time I click to see Devices and Interfaces tab in NI-MAX, it crashes immediately without any error info. When I open Ni-MAX again, it gives "The exception occured in the NIMax process in  the function (Unknown)" error. Error log is in attachment. FYI, host OS is Windows XP (SP3) and I can communicate with our other DAU from this host without any problem.

 

I tried following

  • updating DAQmx in host/target
  • deleting NI-MAX database
  • changing/removing modules

 

How I can solve this issue?

 

Thank you.

 

How to convert the U8 image to U16 ? or how I use U8 image in U16 for image processing ?

$
0
0

Hello,

 

I am working on differential phase contrast imaging project,

Where, I have to generate the differential phase contrast image from two images taken with opposite illumination angle.

Steps to generate the DPC image

1) Add to images .................................................................get image 1

2) Subtract Two images from each other.............................get image 2

3) Divide image 2 / image 1................................................(DPC image) 

 

Equation is = DPC(image) = I(L) - I(R) / I(L) + I(R)

 

I(L) = image taken by illuminating the left half circle.

I(R) = image taken by illuminating the right half circle 

 

Illumination pattern

down half circle.JPGLEFT half circle(light on LEDS)

 

upper circle.JPGRIGHT half circle (light on LEDS)

 

 

So, made VI to do the same task, but I got to know that I can not work with U8 to desire result, so I need to convert the U8 image into U16  or after loading the image ,the pixel values re-format into datatypes with higher bits 

So, if some knows the solution then just let me know.

I will be very helpful to me.

 

I have attached the VI and both images.

Thank you. 

Converting string text to corresponding numbers

$
0
0

Hello

im new to labview I've only been on it for a week and now I got stuck on trying to identify the alphabets with corresponding numbers like 

a=0 

b=1

c=2

d=3

.

.

and so on 

 

so that when a string is typed each alphabet can be converted to it's corresponding value depending on the description above like 

 

 

Hello 

 

will be 

 

7 4 11 11 14

 

I've tried a lot of ways that I found to be close to my requirement as a solution including match pattern function but it doesn't do it 

 

any idea? 

Benefits of using asynchronous messages (AMC library) over FGVs to send and receive data?

$
0
0

Hi everyone,

 

I've used the AMC (asynchronous messaging communication) library extensively in applications with multiple threads, and I've also used FGVs in the same applications.

 

I realize AMC and FGVs each have their pros and cons. But I'd like an expert to spell them out for my information & knowledge.

 

Thanks!

Pulse generation NI9401

$
0
0

Hello, everyone, I'm new to LabVIEW. I would like to use NI 9401 module in the cDAQ 9178 to generate a 160Hz pulse to trigger my multiplexer (Campbell scientific AM16/32B), and using NI 9239 to acquire the sensor signals. Can anyone give some idea how to implement this? Thanks in advance.


Do I need to give all the controller in Call library Function?

$
0
0

Hi there,


I am interested to know about Call library function(CLF). Here I am explaining my question using example.
Capture.PNG

arg4 = cluster out

arg5 = int 1 out

arg6 = int 2 out

arg7 = int 3 out

 

I am calling simple function through CLF.  Here I am using Cluster Out,Int 1 out,int 2 out, int 3 out for output purpose only.  I am not sending any information to the DLL file using arg4,arg5,arg6,arg7 out arguments.


My question is that, do I need to add the controller for each indicator on left side of CFL?

 

I know it is giving me correct return value from the function without controller on left side. But Whenever I created Vis with help of share library function at that time it is create controller for each indicator.

So controller for each indicator make any change in terms of memory or any others?
  

Thank you,
Yash 
  

FPGA DRAM maximum number of request before retreive data

$
0
0

Hi,

I have a question about DRAM. Concept of DRAM are not a problem for me.

I have 100k U32 words to record in memory and i need them to replay later.

My idea is to request all element in a first time and then start replaying it with handshaking command on retreive node.

So my question is how many request can i do consecutively before starting to retreiving it ?

 

Thank you for answer.

 

Regards

labview runtime engine "missing external function lvanlys.dll"

$
0
0

I updated a program that I built years ago which runs as an executable in labview runtime engine 2017.  I've not had an issue with this before but when I exported the updated script as an executable and moved it to the runtime computer I got an error.

ErrorImage.PNG

When I searched for this error I saw the following issue.

 

They suggested that they might need to include the "data" folder but I always do that and did so in this case as well. It was also suggested to check that the minimal version of the runtime engine wasn't installed which again was not the case.  I re-downloaded and installed the 2017 runtime engine from here.

 

I'm at a loss as to what the issue could be and really hoping someone can point me in the right direction.

Find path of dll in Library Node Function

$
0
0

In a library node function call, a dll (i2cfa.dll) is called and I can't see the path. Clicking browse will get me to the desktop. During execution the dll opens a window and in that window I can see that the dll revision is equal to 1.
 
In the PC I have 4 instances of this dll. And all of the are revision 2 when being opened. There is no revision 1 dll as I have searched the whole PC, and LabVIEW search paths.
 
How can I find out the path of this ghost dll labview is calling? I tried tasklist in cmd but since the dll is in the LabVIEW application context I can't see any task with a similar name i.e. i2c.

Issue with RT timeloop in sending RS422 serial messages through PXI communication

$
0
0

Hi,

I've worked in labVIEW but new to RT systems. Right now, I'm working on an PXIe 8840 based RT system. I'm trying to send RS422 serial messages through PXIe 8431/8 every 5ms in two ports simultaneously. Below is the screenshot of what was made.

Capture2.PNG

For me, both loops need to be executed in parallel. Even though i gave same priority (different processor was chosen through manual mode), there is a difference. Sometimes one loop gets stuck while other being executed. CAn anyone please help !!!!

 

Tried "Synchronize Timed Structure Starts.vi" with no success.

 

Thanks & Regards

Muthu A

Viewing all 69272 articles
Browse latest View live


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