Jump to content

Sherif

Members
  • Posts

    63
  • Joined

  • Last visited

    Never

Posts posted by Sherif

  1. QUOTE(manic @ Aug 1 2007, 04:55 PM)

    Hi everybody,

    i'd just like to introduce myself. My real name ist Matthias and i'm working as an measurement engineer in a small german company, which produces many kinds of sensors. i'm using labview for about 3 or 4 years now and all started with some optical measurement system in a project back in university days...labview 7.1 was the weapon of choice then. now it's 6.1 for me. back to the good ol' days or something like that :D

    i've searched for help in this forum whenever i'd been stumbling over some labview problems. i think the time has come to try to be more than a passive member :)

    greetz,

    Matthias

    Welcome To LAVA ...Mr. passive :D ... Glad to see you Matthias, feel free to ask for any problem

  2. QUOTE(Gamboa @ Aug 13 2007, 08:28 PM)

    Salutations people; first time in any kind d of forum and a beginner at Labview, pretty nice combination dont you think?.

    Actually, I just left the grounds of theoretical physics and decided for experimental plasma physics. I am going to start PhD studies at UC Davis so this summer I started with a random project (hardware manipulation) using Labview. And of course, I am already having questions..hahaha.

    I can sense this community is gonna be of great use.

    Anything regarding physics, I may be able to give you a hand.

    Rodrigo Gamboa.

    Welcome Gamboa. your Random Project is interesting wishing you all the best in your PhD.

    Hope we can help you.

    Regards

    Sherif Farouk (",)

  3. QUOTE(Cat @ Aug 15 2007, 10:34 PM)

    Hi there. Some of you old timers may remember me from various LV newsgroups and mailing lists. I've had my head buried in coding for a couple years, but now that I'm down to a 40 hour work week, I figured it's about time to reconnect with the LV Community. This looks like a good place to start.

    Cat

    Welcome Back to LV Community Cat :D

  4. QUOTE(Harish @ Aug 20 2007, 09:27 AM)

    Hi All,

    I have joined this forum today.

    I have been working with NI LabVIEW for quite some time now (more than 3.5 yrs).

    I am here to learn more about object oriented techniques in LabVIEW.

    Also i have interest in exploring design techniques for large application!

    Hope that this forum provides an interactive platform!

    Harish Kumar

    Hello Harish , welcome To Lava ... :D

  5. QUOTE(orko @ Jun 27 2007, 09:40 AM)

    My only suggestion is that perhaps on the read side, the "binary to digital" conversion is acting on an array of U8 without knowing what the desired sample rate should be of the output digital waveform.

    Remember that once the bits are captured and sent along the serial port as a string of data, they are just ones and zeros of the raw data and all the timing information on the original analog waveform is lost.

    Perhaps you are going to have to capture the sample rate during the analog to digital conversion in the write code and encode it into the string it writes out to the serial port. Since I think you are intending to control an FPGA board with the serial port I/O directly, you may have to rethink how you're going to extract the timing information from the string that appears on the serial port.

    Hope this helps.

    Thank you orko Now i'm sure that the error resulted from the code loaded on the FPGA board ,

    i checked the VHDL code it's OK. However when i changed the VHDL process that is resposible for this problem to have double the period, the Labview VI didn't work [i.e simulation stops and a timeout error showed up]

    thus, i have to change the Baud rate to fit the new values ....[period doubled then Baud rate should be Half of its value] now Labview back to life again and work But unfortunately with the same Problem .

    This is because when i used factor two to reduce the baud rate I -- at the same time -- doubled the period so they cancel each other and back to the same Problem.

    i don't know what Can i do ....??!!

    do you have any idea .... !!

    regards

    Sherif Farouk (",)

    -----------------

  6. QUOTE(orko @ Jun 27 2007, 01:52 AM)

    Sherif,

    The reason you are getting half of the data is because the 16bits per sample is being converted to 8bits by the 8bit array to string.

    To fix this, wire up the resolution input to the Analog to Digital conversion VI, which defaults to 16 bits. Then change your Digital to Binary VI to be the "Digital Waveform to Binary U8" instance. This seems to work for me.

    I already made what you said but still no change anyway thank you for your help

    To illustrate the problem more and more

    When the analog pulsed signal is converted to digital and sent Over serial Port and then read again on the labview the read signal has half the period of the written wave (i.e double the frequency or double rate)

  7. QUOTE(crelf @ Jun 24 2007, 06:07 AM)

    Try a loop back test (unplug the cable and put in a plug with pin 2 shorted to pin 3), then do the write in LabVIEW and read the response in Hyperterminal - that'll tell you what your LabVIEW program is really sending out.

    OK Thank you Crelf i already tried the loopBack test you suggested but when i write for example Ahmed i received Amd

    i don't know why

    regards,

    sherif farouk (",)

    Thank you both JackHamilton & JFM you really helped me to discover where's the problem

    but i don't know now why he pulse width of read message is half of the written on the port

    do you have any ideas for this behavior...??

    thnx in advance

    Sherif Farouk (",)

    -----------------

  8. QUOTE(karim @ Jun 26 2007, 12:32 AM)

    Dear Shref..

    Really thanks alot for your reply..

    I want to ask another help from you .I know i'm gonna be heavy but i'm working on a graduation project & my deadline is 1-7,I tried to make your steps but i had some difficulities i didn't work on this program before,I'm sending to you the code i should modify.May you add the part you sent to me to this code.

    Kind Regards

    Karim

    Well Kimo i don't know what to say, me too i have to deleiver my Project in 1-7 but in which college you are in .... ?? !!

    I don't think LABVIEW is difficult You can simply search on the Name of the blocks you want especially if you know their Palettes and they are included in my reply, [bas el zaher Enak Mesh Taye2 el LABVIEW aslan]

    Anyway i'll do it for you but i think you should at least Understand How the serial Port interfaces with LABVIEW. OK KIMO

    Promise to read [3ashan Masla7tak walahi ana mesh far2aa ma3ayaa ana aslan el Code 3andi mesh moushkela]

    Don't forget to tell me your college ....

    Regards

    Sherif Farouk (",)

    -----------------

  9. QUOTE(crelf @ Jun 24 2007, 03:18 AM)

    It's kinda difficult to work out where the problem is - are you sure the string that you're sending out the port is exactly the same in both Hyperterminal and LabVIEW? Are you sure the serial port settings are the same? Are you sure the termination characters are the same?

    yes i'm sure if all wt you stated above except the termination characters cause i don't know where i can find it in the Hyper terminal if you can tell me i'd be thankful to you

    kINDLY see the attached Hyper-terminal configuration i used in my test

  10. HERE'S MY code ... no i connected the serial port between the pc (labview) and the FPGA board

    i received the same signal written on the visa write.vi but delayed and the full scale pk to pk is 2 even if i change it i don't know why

    Can anybody help .....??!!

    thnx in advance

    Sherif Farouk (",)

  11. well i tried to write from Hyper-terminal and the ASCII code of writen strings is correctly displayed as a binary representation on the FPGA Board leds, But when i tried to write strings on LABVIEW using Basic READ WRITE example in LABVIEW examples the strings is not correctly represented in it's equivalent Binary format on the FPGA Board Leds.

    Does anybody know why????

    + i still having the same error even when i used the Type Cast i.e Nothing solved .... ?? !!

    Thanks in advance

    Sherif Farouk (",)

  12. QUOTE(karim @ Jun 23 2007, 06:15 PM)

    i will use simple example for basic serial port read and write but i want to show the data that read from serial port i need help to show this data as analog signal

    So Kimo You mean you want to convert the received signal which is a string read into analog signal right ...??

    Here You are what you should do :

    1-Use string to Byte array .Vi converter form String Palette

    2-then the output of this Vi is connected binary to Digital Waveform.Vi

    3-then to to DAC you will find it in the waveform Palette

    4-then use analog indicator to display the signal in analog or use it inside your system

    That's all... hope it's clear now

    for any clearifications send me

    Ta7yaa masr ;)

    Regards

    Sherif Farouk (",)

  13. Back to you .... ;)

    The question now after insertion the target on the screen as you will see in the attached VI ... How can i Provide the variation of Target Position with Know given signal ... i mean if i could calculate the Range of the target how can i make this target Move with the calculated range not fixed Path as in the VI attached ....??

    Regards,

    Sherif Farouk (",)

  14. QUOTE(BOBILLIER @ Jun 23 2007, 12:03 PM)

    You can use type-cast like in my exempl.

    Why using Type Cast ...?? to solve error message ....??

    So what about conversions i made on the analog signal .....??

    and what's the problem in using (Byte Array to String .VI) Converter in string palette cause when i use the type cast the simulation didn't run continously ... ??

  15. Hello everybody...,..

    Well I'm using a Labview 8.0 in my Project ... IN the Project we have a link between the PC and the FPGA using a serial Port RS232

    since we are using the Labview as a software on the PC, we are going to use VISA WRITE and READ to Tx/Rx data form serial Port.

    Actually i Perform the Loopback test on the Port ... Then we test the Transmission and receiption of Serial Cable using the Hyper terminal not the LabView ...

    The Problem Now is that the Output from the LabView is a pulse signal -Analog- SO I need to convert it to a digital wave form then to Binary representation(8 Bits) in order to transmit it through the serial Port ... [using DWDT Analog to Digital.VI followed By Digital waveform to binary array.Vi]

    but VISA WRITE takes string so i used (Byte Array to string.VI) Converter.

    I need to know is it right what i did [ I mean will i have the same signal analog (but with Equivalent Binary format) after all these conversions ] and still continuously variating with time ....................?????????!!!!!

    Because when I connect the Serial Cable Between the PC (LABVIEW) and the FPGA to test the received signal on the FPGA the Leds Lighted in the following sequence when all ones all leds are On

    but when we are in zero period of the signal the Leds provides the following binary format 00001010 i don't know why ???????!!!

    also when i change the Digital Waveform to BInary array.VI settings to be Digital Waveform to Binary U8 , simulation stops and an error message is introduced --attached with this Post-- .... does anybody know why /.....??

  16. QUOTE(Karissap @ Jun 18 2007, 06:20 AM)

    Hi Sherif

    The NI Modulation toolkit offers Rayleigh or Rician Distribution fading VIs.

    Here is an extract from the NI modulation toolkit datasheet:

    http://forums.lavag.org/index.php?act=attach&type=post&id=6123

    Here is an example in MATLAB if you want to look at the algorithm and implement it yourself in LabVIEW, you might even be able use most of it in a math script node.

    Thank you Karissap .

  17. AA ... simply the problem is that i need to generate a random Signal [Noise] with Rician Distribution or even Rayleigh Distn. which are used in radar application. i searched in the labview for this Rician but nothing i could get.

    Do you have any ideas about how to Generate siganl with Rician Distn.??!!

    Thnx in advance

    Sherif Farouk (",)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.