Quantcast
Channel: All LabVIEW posts
Viewing all 202140 articles
Browse latest View live

Re: CAN

$
0
0

Hello,

 

There might be so many different answers to your need. My best advice woulc be to get in touch with your local sales representative. He will certainly be able to give you more accurate recommendations based on your applications and your needs.

Some examples :

- sbRIO boards may include CAN ports and offer little size but are reserved for OEM

- cRIO + CAN module is a good match for embedded, reliable and rugged applications for embedded test.

- PCI/PXI CAN boards are simple to use but need a PXI chassis or a desktop machine to use them.

- USB CAN module is the cheapest option but requires a host PC (not headless).

 

Regards,

 


Re: FPGA

Poor Render of Fonts in LabVIEW

$
0
0

Why do Fonts render so poorly in LabVIEW 2015 compared to say MS Word 2010 and is there a way to improve the text quality?

 

I already know about the well known issue of LabVIEW font sizes not being standard (see this link)

https://decibel.ni.com/content/groups/ui/blog/2013/06/07/font-sizes-in-labview--conversion-utility-vi

 

But even taking this into account, text in a LabVIEW Front Panel Indicator (in this case a Table Cell) looks very blocky compared to MS Word.  Is this because MS Office uses anti-aliasing?  Can this be done in LabVIEW?  Below are 1:1 screen snapshots of a Table cell.

 

LabVIEW Font Render Issue.png

Thanks Chris

Re: Shared variable not reliable? Problems syncing multiple machines

$
0
0

Hello,

 

thanks for your support so far.

 

My updates so far:

 

Last friday we added an USB network interface to the 5 PCs in this line.

We already have 2 network cards on every machine, but the SVE was runnnig together with other services.

Now we have it running on the seperate USB network cards, which are connected through an seperate switch (static IPs).

Unfortunately we still have the same problems. It seems that nothing has changed so far. Smiley Sad

 

I also made use of the logos.ini, even if I am not sure if it still applies to LV 2014: http://digital.ni.com/public.nsf/allkb/D358BABAE2F61F1A862571570056867D

Unfortunately I don't think it's working:

Using my notebook connected to the company network, I can still see the shared variables using the IP of the 1st network card of the PC deploying the SVs.

Means: The SVE is bound to network card 3 using logos.ini, but network card 1 still seems to deploy the shared variables.

 

Might there be a problem because the shared variable engine has multiple network cards in use?

 

I think we'll switch to network streams, but it will take some days until I have the time for it.

Re: Strange Problem with my FPGA Code

$
0
0

Turns out it was an electrical problem, thanks all and sorry for taking your time

Re: How to install the OPC server with the Application installer

$
0
0

Hello,

 

I've just encountered this problem. Does anybody have any suggestion about this issue ?

 

Everything is ok on developing PC that installed DSC and LabVIEW Real-Time. Application can make read/write operations with Siemens S7-1200 PLC.

 

But,

 

1) I built installer with "NI LabVIEW Run-Time Engine" and "NI LabVIEW DSC Module Runtime". 

2) I installed OPC Server as licenced for 1 driver on other PC without LabVIEW. And then i installed my application using my installer.

 

I can't establish a connection between OPC & Application. 

 

Best Regards.

CANopen on PC with USB to D-Sub

$
0
0

I have a sensor that communicates via CANopen.

 

I have a cDAQ for this project and the only CANopen modules available from NI are for a cRIO.

 

I wondered, since CANopen operates on a D-sub for a serial port, is there a way to just read in the CANopen data directly to my laptop and into LabVIEW? I have a USB to Serial D-Sub cable.

 

Also is there any third party hardware anyone could recommend that would be very low cost that could read in the CANopen data and then pass it to LabVIEW in a readable format either via cDAQ or via ethernet or USB or another route direct to my laptop?

 

Unfortunately we dont have the budget for a cRIO so I need to find another solution. 

 

Any advice would be greatly appreciated.

if it happens white screen on long-running LV's application

$
0
0

Dear colleagues,

 

If it happens "white screen" on long-running LV's application - what is to be done to avoid it in future?

Note that after "white screen" (approx after 1 week from start application) - no happens any events or log in Windows 7.

It is interesting that in the LV2009 this behavior was not registered.

To isolate the problem I need to do to program your own log file and write in it all the actions in my program or may be rollback to LV2009 Smiley Happy?

Program is designed for 24/7 operation (well at least a month of continuous operation).

My system is Windows 7 SP1 on Advantix ER-7000 (Intel, 4 GB RAM), LV2014f1, PXI-1033 with 3 cards NI-6511, NI-6515 and Pixie4 (third-party manufacturer). Program consists form one top-level VI and 100 vi (in project tree) and 5 lvlib with local variables. Also are "calls library function" for simple read/write from Pixie4 and also are simple actions read/write with NI-6511, NI-6515 cards. Note that I don't used different threads (Preferred Execution System) now all works in one "same as caller".

 

Please any help is appreciated. I know about full code optimization and now I'm thinking about it.


Re: CANopen on PC with USB to D-Sub

$
0
0

Hi Dawud,

 

I wondered, since CANopen operates on a D-sub for a serial port, is there a way to just read in the CANopen data directly to my laptop and into LabVIEW? I have a USB to Serial D-Sub cable.

If you would read some relevant articles on Wikipedia you would know the answer already: NO.

 

Also is there any third party hardware anyone could recommend that would be very low cost that could read in the CANopen data and then pass it to LabVIEW in a readable format either via cDAQ or via ethernet or USB or another route direct to my laptop?

Using CANopen isn't "cheap" in general. You might search for other vendors of CAN interfaces, I can name companies like Vector or Peak. But then again: CAN isn't cheap, and it requires some drivers. The best drivers you can use in LabVIEW are those by NI supplied for NI hardware…

Re: cRIO-9068 Scan engine, EtherCAT configuration issue?

$
0
0

Hello Ehlert,

 

try to install the NI-XNET software on your target, and try to update the version of Network Variable Engine to the version 14.0.1.

 

Let me know if that can solve your issue.

 

Kind regards.

Re: cRIO-9068 Scan engine, EtherCAT configuration issue?

Re: CANopen on PC with USB to D-Sub

$
0
0

We do have the NI CANopen module but its for a cRIO and doesn't work with the cDAQ. That would mean spending at least another £800 on hardware for a cRIO chassis which would stretch the budget too much.

 

I do appreciate that the best method would be to have an NI chassis, module and LabVIEW but given the budget constraints, I wondered if there was any board that I might be able to buy for £100 or something that can take the CANopen data and pass it to the cDAQ or laptop in another more accessable format like RS-232 or something.

 

I was initially thinking of an Arduino but there is very little out there for reading in CANopen data on an Arduino unfortunately.

 

I have read through the wikipedia on CANopen but I can't understand why it couldn't be implemented in software on a PC if such a program had been developed.

 

 

Re: histogram time domain measurements

$
0
0

I am afraid I did not express clearly what I meant.
To be more explicit: the integers at the input represent time differences between two events in multiples of 0,5 ns. The histogram measures how many times any difference occurs. The result will show the distribution of the time between events through the number of counts in the bins. I should not have mentioned 'channels' where I mean 'bins'. In the ´test integers vi´ you will find the configuration of the histogram by right mouse clicking. The 1D array only shows even numbered bins. I agree that the suggestion of Kelle to use the General Histogram from Probability& Statistics would have been more appropriate, but I thought the Signal Express Time Domain Measurement vi would be suited and would be much simpler.

Thank you for your interest.

Re: CANopen on PC with USB to D-Sub

$
0
0

Hi Dawud-Beale,

 

NI 9881 is just a module, it can't run independently without OS. According to the specification of NI 9881, it "direct access to CANopen port in LabVIEW Real-Time host VI". So you have to support the Real-Time OS to NI 9881.

 

For the 3rd-party chassis, we have never tested their reliability for compatibility issue. So, I don't recommend another chassis.

 

Best Regards!

Re: CANopen on PC with USB to D-Sub

$
0
0

Hi Dawud,

 

CANopen is "on top" on usual CAN, so you need atleast a CAN driver. And even when it uses DSub9 connectors it uses different electrical parameters than RS232/RS485/...

 

I never heard of "CAN on Arduino". Did you check the companies I named before? Did you talk to your local NI sales representative on the CAN/CANopen topic?


Re: cRIO-9068 Scan engine, EtherCAT configuration issue?

$
0
0

Hi Ehlert,

 

Are you using exactly the same hardware,software and code before and after reinstallation of your develpment PC? I will take a further look at this from EtherCAT side and let you know any if there is any update tommorrow.

 

I think you are posting to a wrong place. You need to copy the question here: http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/bd-p/240 for more active answers.

Thanks.

 

Wendy

Re: CANopen on PC with USB to D-Sub

$
0
0

I wasn't thinking of another chassis, but an "Intermediary" between the cDAQ and sensor, that could convert the CANopen to RS-232 or something readable on a digital input module for example on the cDAQ. I appreciate it won't have been tested for realiability but I guess that disclaimer will be relevant to most communication between NI hardware and 3rd part hardware. Guess thats the risk we have to take if we need to go down that route.

 

 

Re: CANopen on PC with USB to D-Sub

$
0
0

Ok thanks Gerd that makes sense, I wasn't aware of the different electrical parameters of CAN communication. So if I can translate from RS-232 to CAN, could the CANopen element be implemented in software? I think cDAQs have a CAN communication module, just not a CANopen one.

 

Sorry also forgot to mention, I did check with NI but obviously they can only recommend NI solutions, and my only option is to buy a cRIO chassis unfortunately.

 

There are some CAN shields available for Arduino, but CAN only provides the bottom two layers of the OSI model, and CANopen covers the other 5 layers of communications. So unless someone has already attempted this and made the code opensource then I didn't fancy attempting to code in 5 layers of CANopen communication onto an Arduino. I couldn't find anything.

 

I checked out the company you mentioned but their solutions were really expensive, might as well buy a cRIO chassis.

FTDI FT232H Windows access permission problem

$
0
0

Hi guys,

 

Not sure if this is the right place to ask, since it might be a 3rd party driver issue, but given the popularity of FTDI's chips I'll try anyway.
I wrote a simple LabVIEW program to toggle some GPIO pins and read data over I2C using a FTDI FT232H IC. Everything seemed OK, so I made a build specification and built an executable.
When I run it without permission elevation (compatibility > run as administrator), FTDI communication fails. If I switch 'run as administrator' on, everything works fine.

 

Of course you need administrator rights to install the driver, but it seems strange I would need these rights to simply call the ftd2xx.dll.
The application was built with LabVIEW 8.6 and it runs on Windows Embedded 8.1 Industry Pro (64-bit). I used FTDI's LabVIEW examples (link) as a basis for my program and therefore call the ftd2xx.dll library, not the mpsse library (which is like a wrapper for the ftd2xx API).


Is this a LabVIEW issue or is it a Windows setting I need to alter? Thanks in advance for your help.

 

Paul

Re: Amplified signal - Thermocouples - Conversion ?

$
0
0

Right, but the thing is, I cannot eliminate my external gain by this internal scalling. So I added a block ( divide ) and connected a value of 100 to it like in the attached program. I still don' know if I will get a proper readings due to the possible data conversion issues.

 

 

Viewing all 202140 articles
Browse latest View live


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