LabVIEW low level Ethernet communication, 802.3 physical layer
I'm trying to use LabVIEW to establish communications with a Freescale
8270 PowerPC CPU with built-in 802.3 Ethernet. The microcode on the CPU
end supports only the 802.3 MAC/PHY layer (with CSMA/CD). We will not
be implementing a TCP or UDP stack in the CPU code. It appears that the
built-in LabVIEW functions communicates with Ethernet through the TCP
and UDP stacks only, which in turn call the windows API. LabVIEW does
not access the Ethernet 802.3 physical layer directly at all. So, there
is a gap in the communications between the two. I do not need a lot of
networking functionality, this is only for a simple continuity test
(CPU sends a test message, LabVIEW displays it). Any LabVIEW code
examples or app notes would be helpful. Thank You, Larry Junek
([email protected])
See this Link where it sounds like Bim has already cracked that nut.
http://forums.ni.com/ni/board/message?board.id=170&message.id=206697#M206697
Ben
Message Edited by Ben on 09-26-2006 11:19 AM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
Fast low level Ethernet communication with LabVIEW
Hello, I want to read Ethernet packets with LabVIEW (an private protocol, not UDP or TCP or others). The hardware writes 40 000 packets per second. I want to use winPcap API to capture data. I’ve seen the example «packet_sniffer_project » (and others). It’s an great job. But the soft reads only 1 packet at each time (wrapper dll calls « pcap_next_ex » function) and I lose packets. With my computer, I read 25 000 packets per second. How can I read more than one packet at each time? (or all the Ethernet buffer) Thank You
MickeHi,
maybe an example that I posted will help you
http://decibel.ni.com/content/docs/DOC-11373
cosmin -
Difference between Low level and Normal IMAQ ?
There are two options in IMAQ palette a low level and a normal one. Both have the same function names and the same icons the only difference being the balck and white icon of low level functions and colored icons of the normal functions. What is the difference between these two and what is the need of making a low level palette of functions ?
Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics
" Its never too late to be, what u want to be"
Using LabVIEW 8.2Low level imaq functions gives you relatively more function to control the hardware. Buffer functions is one which is not there on the high level palatte
-
Premiere Pro CS6 - A low level exception has occurred in ImporterMPEG
Hi Adobe Community,
I'm having a bit of an issue with the ImporterMPEG.prm plugin for Premiere Pro CS6 that's causing playback and exporting issues.
Computer Specs: Win7 PC, NVIDIA GeForce 6150SE nForce 430 graphics card
Description: After playing back video for a while, Premiere will eventually start repeatedly reporting "A low level exception has occurred in ImporterMPEG". The preview player will be completely frozen, and I'll be unable to export. The exporting will fail with a generic "Unexpected error" message.
This issue has only started a week ago. Until now, I've been able to use Premiere Pro CS6 with no issues. If possible, I'd like to avoid upgrading to CC 2014, because the CS6 version was working fine before.
So far, I've tried a few things:
• Deactivating and reactivating (which, by the way, apparently doesn't help subscription users like me, per my recent chat with Adobe support on this issue)
• Uninstall and reinstall (I didn't know about the CC Cleaner tool at the time, so I haven't tried a clean uninstall yet)
• Change the Preview File Format in Sequence Settings (from I-Frame Only MPEG which had worked since I installed the software over a year ago to Microsoft AVI)
• Crying silently to myself (this did not help, the computer is cold and cruel)
• Clearing out the media cache (which I'd never done before and let it get up to ~75GB without me noticing)
• Moving the plugin from its location in Program Files, hoping that maybe Premiere Pro would notice it was missing and to try to find a new fresh one (it didn't work)
So far, only the Preview File Format change seemed to bring relief, but the bad behavior came back after about a week.
I'm thinking maybe the ImporterMPEG.prm plugin got corrupted somehow? The one notable thing I can remember with the computer in the last few weeks was a power event that shut down my computer unexpectedly. I think I had Premiere Pro open at the time.
If it's relevant, I mostly work with .AVI, .MP4, and .TS files in my projects, all varying resolutions and FPS. I'm usually working with about 1GB of files in a project, very rarely more than 2GB.
Has anyone else had this issue? Or, even better, has anyone else resolved this issue?
Thanks!But really, the real solution for me was to not update Premiere Pro CS6 after a reinstall. The most recent updates just do not like my computer, I guess.
Figured I should post this solution here in case anyone in the future has this problem. (relevant: xkcd: Wisdom of the Ancients)
-Sam -
Hi, All
I am using Agilent 532XX Series driver to read data from a frequency counter. In the low level subVi : \Public\Data\Low Level\Fetch Measurement (Single).vi, "Scan From String" is used to convert the data.
however, if I check the error of this function, it always show me a error with current format string "%.;%g;". after I changed it to "%;%g", I don't get the error anymore.
If anyone use this funtion, please check the error out of that fuction and see what you get.
Regards
CQI don't have the instrument, so I can't reproduce it completely, but I've done some research and if there is an error I don't think it's in the string conversion itself. I say this because:
From what I can gather, a typical output string would be the following: +4.27150000E-03
I took just a "scan from string" node and gave it that string as a string input and %.;%g; as the format specifier string. This yielded a numeric value of 0.0042715
So, as far as actually finding the root of the problem, there could be a few things going on. My first thought is some form corruption causing the data received to not be valid for conversion. There are two ways of testing this:
Open up a test panel in MAX and perform a loopback test, as described here: http://www.ni.com/white-paper/3450/en/#toc4
-or-
Install and open NI IO Trace and view the bus traffic as detailed here: http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9
If the loopback tests works properly, go ahead and run the IO trace and post the results here.
Christopher S. | Applications Engineer
Certified LabVIEW Developer
"If in doubt... flat out." - Colin McRae -
What exactly is a "low-level exception occurred in: ImporterFastMPEG?"
I've been importing several HDV video files (m2t files) from my Sony HDR-DR60 HDD unit into Premiere Pro CS6 on my Macbook Pro w/ Retina Display. I noticed that this error popped up for 3 files: "A low-level exception occurred in: ImporterFastMPEG (Importer)" What exactly is happening here? What does that mean? Those video files appeared with small "?" icons next to their names in the bin. I attempted to import them again, but I was either given the same error message or only the first few seconds of the file would import. For example, one file is 645MB and is a little over 3 minutes long. Now when I try to import this file, it shows as being only 19 seconds in length.
Now here's where it gets perplexing: I took that same file and fired up my decommisioned Windows PC with an old installation of Premiere Pro CS5.5, and it imported perfectly without a problem.
I found a very slow work-around where I converted the m2t file into an uncompressed Quicktime MOV, but I'd like to find out what the root cause is and why I'm getting this error for these few files. I've done a lot of shooting this week, and I haven't had a problem with any other files from my HDR-60.
So, is this a Mac/Apple problem, a Premiere CS6 problem, or are those particular files just randomly weird? Google searches have not yielded anything useful which is why I'm asking here.You might go back to http://forums.adobe.com/community/premiere/premierepro_current
In the block under Ask a Question enter
low level exception
so you may read previous discussions
Be sure to click the See More Results at the bottom of the initial, short list -
TDMS Low level file functions and Saving Front Panel image
Am using TDMS low level file functions to save while also plotting data in my data acquisition programme. However, I also want to programmatically be saving the front panel image on every run of my data acquisition. I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application. Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
Thanks in advance.Tebefia wrote:
Am using TDMS low level file functions to save while also plotting data in my data acquisition programme. However, I also want to programmatically be saving the front panel image on every run of my data acquisition. I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application. Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
Thanks in advance.
Did you see this link?
CLA, LabVIEW Versions 2010-2013 -
Hello all,
I am beginner in LabView and I am seeking help for the following:
I need to adapt a vi using a regular (analog) camera so to start using a USB camera instead. When I viewed the block diagram (which is really complicated for me) I noticed that the original programmer used the low level IMAQ VI's (e.g. IMAQ intil.vi and IMAQ configure Buffer.vi) to communicate, control and acquire images from the camera. Now, I am really confused, does these VIs work with all cameras? If not can I replace them with the IMAQ USB VIs'? How would this affect the other VIs that depends on the out come of the replaced ones? Finally, I would be glad if anyone can point out things to read so to acquire more knowledge about this subject?
I know I asked much but really I want to learn these things as fast as possible
Best Regards
MohammedHello TomBaum,
First, thanks for responding, really appreciate it.
Sorry that I cant send the Vi itself yet I have attached a picture of the part
that I want to modify (red rectangle).
All I want to do is using USB camera instead of the one used now! so does
these low level VIs work with the USB camera
or I should use the USB camera VIs which will mean that i will end up with many
broken wires since low-level VIs has
different number on inputs that the USB camera VIs
Hope this can give you an idea.
P.S. in case you will wonder about the sequence structure; it is only the
camera setting that I am interested and it is the one shown in the
structure
All the broken wires in the picture are going into a very larg while loop with
many other VIs.
Regards
Attachments:
pic1.PNG 48 KB -
Hi,
Could someone help me in the setup and configuration of NI OPC server to OMRON PLC (CJ2H model) using FINS Ethernet communication protocol? I already read some materials available in the web but it uses a different PLC and communication protocol. The OPC server is installed in my laptop and I'm using Windows 8 as my OS. I used a cross over RJ45 LAN cable and connected to the ETN21 module of the PLC. I was able to confirmed the communication of my laptop and PLC by pinging the ip address of the ETN21. I also tried to configure the OPC server based on the documents I just read online. I created a channel, device and tag to the OPC server. By the way, I just need to read the data from the tag I created. Can someone also tell me how to monitor the data on the tag? I hope that you could help me. Thank you in advance.Good day,
Try following the instructions on the driver’s help, take a look at the attach picture. It should be a good starting point. After the PLC is configured you can use this tutorial (Connect LabVIEW to Any PLC Using OPC » http://www.ni.com/white-paper/7450/en/) for a guide on how to monitor the tags.
I hope this helps
Alejandro | Academic Program Engineer | National Instruments
Attachments:
OPC Server Help.JPG 237 KB -
Hi all,
I'm trying to do some very-low level USB control using Labview. Tasks are:
-Write 1 to output
-Write 0 to output
-Write clock to output.
Very simple tasks (no need to read, just write) , but i need to be able to do this with just a USB cable attached without any device. It will be used to characterize the cable.
The other end of the cable will be terminated appropriately.
If anyone could give me some information for me to start this, that would be extremely helpful.If you want to do something like setting the pins of a RS-232 port without a device attached, this will not work.
USB works fundamentally differently to RS-232. It is a point-to-point connection. It doesn't work open ended and you don't have direct access to the signal levels at all.
Look for a cheap I/O device instead and use it for testing.
Shane.
Say hello to my little friend.
RFC 2323 FHE-Compliant -
Where can I get the low level VIs for ELVIS functionalities not currently exposed in LabView eg for Bode Analyzer, Arbitrary WaveForm Generator
Hi Adnaan,
The lower level VI's are just as you list: DMM, FGEN, etc. I'm sorry the Bode Analyzer low level's are not available.
It looks like all of the controls for the BodeAnalyzer can be accessed from the block diagram, is this not the level of programatic control that you need?
The Express VI link was included in case you we're interested in how to create these.
Have a great weekend!
Best regards,
MatthewW
Applications Engineer
National Instruments
Message Edited by Matthew W on 09-28-2007 06:36 PM
Attachments:
bode_elvis.JPG 11 KB -
Low level control of serial port?
Hi there,
We're using LabVIEW 7.1 and I would like to control some low level aspects of the serial port (I'm having a LOT of difficulty connecting to an ABU93 autoburette). Is there a way to set the DTR, DTS RTS and CTS in LabVIEW 7.1? Is this controllable through VISA?
Thanks for any help,
RussThe serial lines cannot be adressed using the Configure serial port VI. You need to dig a little deeper, and access the modem property node.
See the attached vi.
CC
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Serial line settings.vi 35 KB -
CKM3
Category
Quantity
Unit
PrelimVal
Price Diff
ExRt Diff
Price
Currency
Beginning Inventory
419
KG
18,841.59
4,798.81
-0.09
56,420.79
MYR
Period Opening
419
KG
18,841.59
0.00
0
44,968.00
MYR
2000050719 Post closing material ledger
0
KG
0.00
4,798.81
-0.09
0.00
MYR
Receipts
1,225.00
KG
55,085.80
27,733.41
-0.03
67,607.49
MYR
Production
1,225.00
KG
55,085.80
27,733.41
-0.03
67,607.49
MYR
5000125874 Receipts from Lower Levels
0
KG
0.00
26,620.23
-0.03
0
MYR
1002200029 Order Settlement 1183964
0
KG
0.00
1,113.18
0
0.00
MYR
1002183596 GR for order 1183964/1
1,225.00
KG
55,085.80
0.00
0.00
44,968.00
MYR
Cumulative Inventory
1,644.00
KG
73,927.39
32,532.22
-0.12
64,756.38
MYR
Consumption
225
KG
10,117.80
4,452.40
-0.02
64,756.36
MYR
Not Allocated
0
KG
0.00
4,452.40
-0.02
0.00
MYR
Consumption
225
KG
10,117.80
0.00
0
44,968.00
MYR
1002191063 GD goods issue:delvy 601
200
KG
8,993.60
0.00
0.00
44,968.00
MYR
1002183646 GD goods issue:delvy 601
25
KG
1,124.20
0.00
0.00
44,968.00
MYR
Ending Inventory
1,419.00
KG
63,809.59
28,079.82
-0.10
64,756.38
MYR
5000125874 Multilevel Price Determination
0
KG
0.00
26,715.16
-0.10
0.00
MYR
4000046771 Single-Level Price Determinati
0
KG
0.00
1,364.66
0.00
0.00
MYRHi
Please, address your question to SCN PP Space http://scn.sap.com/community/erp/manufacturing-pp/content
Br, Alex -
LabVIEW Connection to Ethernet IP I/O
Does anyone have information on how to connect LabView to an Ethernet IP I/O?
Unfortunately National Instruments does not have any hardware that natively communicates using the EtherNet IP protocol. You can easily implement applications in LabVIEW that use simple TCP/IP or UPD communication, but I do not know enough about the EtherNet IP protocol specification to know if these standard protocols will work. As you mentioned, LabVIEW can interface with an OPC server. If you have any hardware which uses this protocol that can access the OPC server tags, then this would be your best option.
How is this generally done even outside of LabVIEW? Namely, if I have just a PC without a PLC attached, how can I communicate using this protocol from another software interface? If there are PCI or USB devices available that can use this protocol, then you may be able to utilize them from LabVIEW. I hope this information is useful for you. Please post back if we can provide any additional assistance. Thanks,
Mike D.
National Instruments
Applications Engineer -
I am a student and I am interested in beginning to develope some network security solutions. However I have heard from a few sources that Java is unable to work with the lower levels of the TCP/IP protocol. If any one could confirm this information, or make suggestions about how I could start with my projects it would be greatly appreciated.
Java can access all of TCP/IP.
To access the layers below TCP/IP (e.g. Ethernet, Token Ring, etc; or other IP protocols such as ICMP/IP or IGMP/IP), you'd need JNI. But relatively few people need to access those layers. Let's assume you are not trying to build your own router.
To learn TCP/IP Java networking, check out the Java tutorials; there's a link on http://java.sun.com/
If you want a frightening amount of alphabet soup and to see where TCP/IP is in relation to the other layers, check out http://en.wikipedia.org/wiki/TCP/IP
Maybe you are looking for
-
Free license and isolation groups
Hello, We have just installed CPS in our Solution Manager 7.1. The CPS release is Build: M28.17-35130. The license keys - free - are: CPS-Basic ProcessServerService.SAP.ApplicationsAPI true CPS-Basic ProcessServerService.SAP.SolutionManager true
-
Installing windows 7 on second hard drive in macbook pro 7
Dear fellow forumers. I am currently having trouble installing windows 7 on my second hard disk as whenever I restart my laptop after the bootcamp assistant has made a partition in the HDD, instead of going into windows installation, my laptop screen
-
Rentals (How come some movies are not available on itunes but on apple tv?
Was going to rent a movie on itunes however it said it was only available on apple tv? Does that mean I can only watch it on apple tv and not on my mac? What is the purpose?
-
Receiver Determination-Condition not working
Hi all, It is simple iDoc to File scenario. I have two receivers based on a condition in the receiver determination. I am getting all data into both receivers without executing the condition. Below is the condition. Any idea why this is not being
-
USING WEBUTIL TO READ TEXT FILE INTO TABLE HANGS AFTER CERTAIN NUMBER OF RE
Dear when we use webutil to retrieve data from text file into database table (using text_io) it hangs after certain number of records ( approx. 1300 records) while the total number of records to be inserted in the table exceeds 12000 records while it