Re: serial/parallel to ethernet communication through dos
> i have an old lap to having a parallel and serial port.
> i want to use this port to ping ethernet ports for testing purposes
> could anyone kindly suggest me how do i achieve thgis using dos
> since the laptop is too old the configuration is restricted to :
> 12mb ram
> 30mb HDD
> 1 serial port
> 1 parallel port
> 1 1.44" floppy drive
> i was able to install only MSDOS on it
> can you suggest what else is required for me that enables me to
> communicate to a ethernet port through the ser...CORDIC bit-serial vs. bit-parallel
I'm trying to write a CORDIC macro for a polar transmitter FPGA design.
I've used the parallel approach, but when I do a timing estimation the
longest delay path is through the CORDIC routine, and limits the
maximum clock rate of the whole design to about 40MHz. Other parts of
the design on the same board need to run at much faster rate so I'm
considering using a bit-serial version.
As I understand it, the bit-parallel implementation has low latency and
therefore high throughput, but because of the the word-wide shifts it
clocks at a slower rate. Conversely, the bit-serial...von neumann programing lang; functional-level programing
Ok, today's Wikipedia learned me few things.
One is the term =E2=80=9Cvon neumann programnig lang=E2=80=9D
effectively, that's those of C, C++, Java, sh, perl and the bunch of
garbage to no ends.
In short, =E2=80=9Cvon neumann programnig lang=E2=80=9D are those modeled o=
hardware. Namely, storage, control flow. (thus the bunch of garbage
such as memory address, pointers, file handle, (and, lisp's cons))
I find the discovery of this term very illuminating. I used to use
pages of words to describe the low-...serial to parallel and parallel to serial conversion
I am simulating MC-CDMA/MC-DS-CDMA(using Walsh-Hadamard code
in Rayleigh fading Channel + AWGN) using Matlab/Simulink. Do
anyone knows how to do the serial to parallel and parallel
to serial conversion of the data? Thanks!
"Mikail " <firstname.lastname@example.org> wrote in message
> I am simulating MC-CDMA/MC-DS-CDMA(using Walsh-Hadamard code
> in Rayleigh fading Channel + AWGN) using Matlab/Simulink. Do
> anyone knows how to do the serial to parallel and parallel
> to serial conversion of the data? Thanks!
h...Re: When do you need to use other programming langauge instead of pure labview programming
I was reading your message and its sounds good to me.Infact I was looking around some hints for the same problem.
I am thinking to use a device called 'Temote Invent' (Wireless sensor device;control platform TinyOS/Cygwin ) (for more info:<a href="http://www.moteiv.com/products/tmoteinvent.php" target="_blank">http://www.moteiv.com/products/tmoteinvent.php</a>) and I need to control this device using LabVIEW!! Could you tell me which is the best way to do this?(Application is remotely patient monitoring).
Another thing is I am thinking to use a robot head and controller (More info. is given below) in my research application. The manufacturer will provide the SDK (API) for this. My question is is it possible to control this device using Lab View??Please say some details.
(SDK/API ref link is: <a href="http://www.drrobot.com/products/item_downloads/PMS5005_3.pdf" target="_blank">http://www.drrobot.com/products/item_downloads/PMS5005_3.pdf</a>)
( Controller Info.:The PMS5005 Robot Sensing/Motion Controller can be used as sensing, control, motion execution, LCD display and wireless communication processing unit for various robotic applications. Its onboard firmware makes the low level function modules such as motor driver module and wireless communication module transparent to the users. The PMS5005 board by itself can already drive 6 sta...Re: When do you need to use other programming langauge instead of pure labview programming #2
As the title goes... "When do you need to use other programming langauge instead of pure labview programming",
...Re: serial communication
The code is here:-
<a href="http://www.ee.ucl.ac.uk/~pfrench/Download/Misc2.html" target="_blank">http://www.ee.ucl.ac.uk/~pfrench/Download/Misc2.html</a>
...Re: is it possible to test pic microcontroller using serial port and labview, if so any labview codes around for this??
can u plz show us the diagrams for this exampls in this pdf files
i need it so much
thx for helping
...serial error -1073807202 LabView 7.1 can't communicate with USB-serial adapter?
I can't get LabView 7.1 to read data from the serial port. If I use the original examples, the examples given hier, VISA or not, I just get the error -1073807202 straight after the Configure vi.
Is it possible that LabView just can't communicate with Serial<->USB adapters?
The configuration should be correct: Everything is default, except for the baud rate. It is 38400 bps. Also, I *can* read characters via Win32 CreateFile() and friends. It also works with Hyperterminal. I use WinXP Pro if that matters. And yes, I use the correct COM port (COM4), I always verify that in the device manager.
The error means that you don't have VISA installed. It's on the device drivers CD.
thanks very much for your help.
Installing the VISA driver did the trick.
...Re: Program or be Programmed !
Paul E Bennett wrote:
> WJ wrote:
>> Paul E Bennett wrote:
>>> I was displaying a sine-wave of
>>> asterix characters scrolling continuously down the screen. 3 lines of
>>> code generated the sine-wave (and cosine) numbers and the other 30 or so
>>> lines did scaling and arrangements for its display. I was showing the
>>> source code in a separate window.
>> Gauche Scheme:
>> (define line-length 79)
>> (define mid-point (div line-length 2))
>> (define one-line (stri...Re: labview imaging program
hi, iam obtaining a matrix containing the image information from matlab in labview using a math script but functions like imshow do not work inside mathscript..so how do i use a compatible object to display the image
I believe your questions are being answered in forums <a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=326547#M326547" target="_blank">"is it possible to call one mathscript function from another?"</a>, <a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=326434#M326434" target="_blank">"imshow"</a> and <a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=326243&jump=true" target="_blank">"3D imaging [ NEW ]"</a>
...Serial Communication using LabView
I am trying to communicate with a mass flow controller using LabView - serial comm (RS232). The communication works fine with Hyperterminal so I know that both the COM port and the instrument is working fine. I have LabView 8.2 on my office pc and I tried "Basic serial write and read.vi" to communicate with the instrument and it worked fine. Now, I have LabView 7 on teh lab machine and I tried running the same program on Labview 7 and it gave me an error saying this program was written on a more recent version of LabView and it cannot run it.
Then I tried writing the same program myself and the program complied fine on Labview 7, but it did not write to the instrument at all. The problem is the string control (not the CF and LF characters). I tried running my program on LabView 8.2 and itstill didnt write to the instrument, until I copied the string control from "Basic serial write and read.vi" to my program. But my program with the the string control from "Basic serial write and read.vi" still doesnt run on LabView 7. Could anybody tell me what the difference is between the string control used in "basic serial write and read.vi" and the one provided by Labview 7? Also what can I do on LabView 7 to write to the instrument?
I would appreciate any help at all.
Hi sr1857, there should be no difference. I think the labview 7 version has also the "basic serial rea...Re: serial port in labview
How can I control other pins of the serial port?
Write/Read RTS(pin7 of serial port) signal.
have a look at the VISA property node.
Start with the bytes at serial port on your diagram and select the modem line of your choice and decide if you want to read or write the value
<img src="http://forums.ni.com/attachments/ni/170/189627/1/serial%20settings.PNG"> Message Edited by Henrik Volkers on 06-13-2006 03:16 PM
http://forums.ni.com/attachments/ni/170/189627/1/ser...Serial & Parallel Communication
I tried several times to interface my circuit( in simplest form, to
glow a LED) with my MATLAB program through parallel port(LPT1) and
serial port(COM1) of the PC.But I haven't succeed as yet.So I am
looking forward to get help on this problem.
Visit http://www.mathworks.com/products/daq/index.html -- the Data
Acquisition Toolbox provides access to the parallel port. Also, it's a
frequent topic in the newsgroup, and googling "MATLAB parallel port" gives
Data Acquisition Software Engineer
508-647-...Serial Communication between labview and max232
Im new to labview and the max232 ic chip too..
See previously i was using a basicstamp2 ic chip to transmit codes to a robot.
The basicstamp2 ic chip requires coding for serout and all that stuff.
whereas for the max232 we are going to use, has no PIC.
So all it has to do is transmit the codes when labview tells it too.
i did find an example Basic Serial Write And Read.vi
I am using a RS-232 cable.
Can anyone tell me if this is enough for a serial communication between labview and max232?
The IC called MAX232 is just a level converter.
Your computer uses a voltage level of about +/-11 or some thing close to it for the serial port communication. However most of the micro controllers use TTL level which is +5 for a high bit and 0V for a bit low.
So this Max232 will help you convert the computers logic levels to micro controllers logic levels and vice versa. The duty of the Max232 is to make it possible to communicate between different logic levels. So it does not need any special code to get the communication done other than what you need to send.
Hope that helps !
Yeah one more thing, you need to get the connections right. Connecting a wrong tx/rx pin of the Max232 to the PC / TTL device will kill the chip.
So you need a microcontroller too. I like Atmel's AVR ..
Thanks for the help. So deepu ur saying i just have to use example like a visa to...Add:Strange serial communication requirement
I am sorry, my previous mail was not very clear.
Basically, the 68hc12 sends out a start bit, 9 data bits and a stop
bit. The 9th bit is used for synchronization requirements. I was
working on windows and it expects 8 bit data to come in.
Here is my previous post:
I have a strange requirement.
I need to read data off the serial port and send it on the internet,
read from the internet and again send it to a serial port.
The serial data is coming from a 68hc12 microcontroller. Now the guy
who programmed the 68hc12 has used the parity bit for data!! Now I
n...Re: Space Requirements For SAS Programs
This method of estimating seems all too academic to me. If you are looking at a SAS program library, why not count lines in a randomly selected set of program files? If you are estimating the number of lines executed from a SAS program (in the SAS program vector) the count of lines in SAS program files may grossly underestimate that number (due to loops and SAS Macro calls) or overestimate it (due to conditional execution of blocks within programs). In SAS procedure calls, the number of lines of text in a program doesn't correlate well at all with program complexity.
Further, I've found that the sizes of SAS program files tend to be a small fraction of the storage space needed for data. So what dimension of SAS "code" are you trying to estimate and what do you hope to do with the estimates?
One OT aside: I'd bet that SAS programmers would put a lot more comments in programs if they were being paid by the line.
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Bachenot2
Sent: Thursday, March 12, 2009 3:56 PM
Subject: Space Requirements For SAS Programs
I took SAS code with a little less than 5000 lines and the size of this text file is slightly over 100KB.
If we take a conservative estimate and say that for every 5,000 lines, we require 150KB of SAS code, then one megabyte of SAS code - 1,000 kilobytes - would contain somewhat over 30,000 lines of code. (The formula is 5000/0...Re: [LogoForum] Re: Hi! I like a logo programming and teaching to program for students.
The message below is being cross-posted from LogoForum.
LogoForum messages are archived at:
...Re: please help me!! Serial communication!
Hi guys, if i have the VISA serial read vi constantly polling for 19 bytes that occur once a minute, how can i manipulate my front panel stop button to end this vi and continue to close serial port properly. Have managed with using abort but this will not close serial address.
...Serial communication w/ arduino board
Has anybody ever used to Tcl to communicate via the serial (usb) port
on one of these pieces of hardware:
Just wondering. Any pitfalls? Code? Successes?
I want to set up a bunch of temperature monitoring stations in my
house, run from a process written in Tcl, that logs the data into
Sqlite. Or make an LED blink whenever you push a button. Or
Thanks to the community for (maybe) answering random question #8 ...
but who's counting anyway? ...
Did you try the sample code in the Wiki ?
...Minicom serial communication Xilinx board
I am programming an embedded SoC. It has a serial port on the
development board which I can use by redirecting stdout to the serial
Since we moved to linux I had to find a tool for this: minicom.
But I cannot get this working. I was able to configure the Bps/parity
but the status stays offline.
Does anyone has any suggestions?
Any errors in spelling, tact or fact are transmission errors.
...Problem with program doing serial communication under Cygwin
I have written a command-line program that uses the serial port (TTYS0) for
communication with an embedded device.
I need to port this program to Windows, so I tried to compile it under the
Cygwin environment. I changed the name of the serial port from '/dev/TTYS0'
The program compiles well, but when I start it, it terminates with an error
on the function tcgetattr(), although it goes well over opening the serial
port (see listing below). I'm getting error #25 "Not a typewriter".
Does anybody know why this is happening ...I need a answer for the serial communication program
This is the program i tried to read a character from pic and to display it on command window
SerPIC = serial('COM1');
SerPIC.InputBufferSize = 50000;
SerPIC.FlowControl = 'none';
SerPIC.ReadAsyncMode = 'continuous';
out = fscanf(SerPIC)
The output that i got
out= ' '
...labview programming E book required
i am new user to Labview i want some good tutorial book on labview.
please mail me some good website links or PDF books.
shanti bhushan <email@example.com> wrote in
> Dear all,
> i am new user to Labview i want some good tutorial book on labview.
> please mail me some good website links or PDF books.
> Shanti Bhushan
Have you tried "Getting Started"? It's really pretty good.
Reverse name to reply