Output same TTL as input

Like to know if the same TTL signal that is being measured (then manipulated) as input can also be output to another instrument.  Using a cDAQ and a 9401.

Hello Aaron,
The NI 9401 has 8 bi-directional digital IO lines.  It is possible to read in a TTL signal, manipulate it, and then output it on another line, however there is inherently a delay because you have to read, manipulate and output sequentially.  One programming technique that can be used to speed up this response time with a multicore computer is called pipelining.  For more information on this please see this article:  Programming Strategies for Multicore Processing: Pipelining.
The primary limiting factor is the rate at which you can run your loop.  This is limited by several things including the computation time, but on a windows operating system you'll top out somewhere on the order of 1 kHz.  This will vary considerably on different computers so your results may be better or worse by a factor of 2 or more.  If you require the feedback to be much faster then you may need to consider changing to a real-time operating system or FPGA programming/hardware.
I hope this helps and have a great day!
Brooks

Similar Messages

  • How do I arrange for the Premiere output to be as near the same as the input as possible?

    A newbie question.
    I am editing a ten minute video down to a 90 second clip, with an added jpeg and a watermark. The first (http://www.youtube.com/watch?v=YQ3UOlHY3GE) turned out fine in terms of HD and widescreen. The second (http://www.youtube.com/watch?v=wgin-kBcep8) has not – it’s all scrunched. They both started out as identical format [1920x1080, 14005kbps data rate, 14133kbps total bitrate, 50 frames/second) MP4 files; the good output format is a (1920x1080, 25920kbps data rate, 2630kbps total bitrate, 25 fps) “Movie Clip”, whereas the poor output is a (720x576, 28807kbps data rate, 30343kbps total bitrate, 25fps) “Video Clip”.
    How do I arrange it for the Premiere output to be as near the same as the input as possible, so as to present in YouTube as HD and fully widescreen? My guess is that I am doing something stupid when I open the incoming file.

    Stephen,
    In your initial post, you state:
    They both started out as identical format [1920x1080, 14005kbps data rate, 14133kbps total bitrate, 50 frames/second) MP4 files;
    If that is correct, then you ARE starting out with full-HD material, and that should be a PAR = 1.0 (Square Pixels) and 16:9 Aspect Ratio. Outputting to 1920 x 1080, should yield 16:9 with Square Pixels, as well.
    Now, one of your output tests WAS to SD, and you state:
    the poor output is a (720x576, 28807kbps data rate, 30343kbps total bitrate, 25fps) “Video Clip”.
    but there is no mention of that output file's PAR, so it could be 4:3, or 16:9. The down-rezzed Export file WILL not look as good as full HD output to full HD.
    I think that that latter 720 x 576 confused Harm, or maybe I am the one, who is confused?
    Good luck,
    Hunt

  • Control analog output based on analog input

    Dear forumers,
    I am pretty new to the labview programming so excuse me if this was posted before.
    I use: Labview 8.5 + PCI 6229
    I want to create a real time feedback: to control analog output based on analog input. The task is very simple - if the ai1 (analog input 1) voltage is larger than a constant, then decrease the voltage of the ao1 (analog output 1) by a constant. Otherwise increase the voltage of ao1 by the same constant.
    All should work for 10 seconds.
    I have tried to implement this using 2 daq asistants and various methods. The problem is that I get the whole signal recorded from the ai1 ( 10 seconds) and then modified and released to the output (another 10 seconds). The execution takes 20 seconds instead of 10 and it is not realtime at all.
    Is it a must to make vi in "run continuous" mode to make it work ?
    Please help :}.
    I am attaching 2 examples.
    1. Main idea what I am trying to accomplish
    2. Very simple example that still does not work in real time simultaneously.
    Attachments:
    example-main.vi ‏180 KB
    example-simple.vi ‏147 KB

    nooto wrote:
    Thank you for your suggestion.
    I understand the simple arithmetic you are talking about. However I do not understand why it takes 20 seconds instead of 10 to complete the task. In other way to say - why it reads the whole input first (10 seconds) then write the output ( 10 seconds).
    Why doesn't ir read and write simultaneously?
    If I use Elapsed Time function - what feedback response time can I expect ? Is it good to use Elapsed Time if i need fast response time? In my application i would I need about 1 milisecond response time. Currently in the example the rate is 50 Hz, later I would like to change the rate to 1000.
    You simply don't understand the underlying paradigm of LabVIEW -
    dataflow. You have a dependency between the first DAQ Assistant and the
    second. The second simply will not start until the first finishes. There
    is no way around that given your condition that the output depends on
    what you read.
    If you want 1 millisecond response time then you will have to swithc to a real-time OS. Windows does not have that kind of resolution and there is way to much jitter.

  • How to generate and output 3 TTL square waveforms with different pulse widths using counters of NI 6034E

    Hello
    I just have a few questions.
     I am using the NI 6034E DAQ board in order to
    generate simultaneouly 3 different TTL digital signals, with different
    pulse width, and output these TTL signals to an external circuit that I
    am using for this application.
    The following pattern of the TTL pulses will look like this:
    01010101 01010101
    00110011 00110011
    00001111 00001111
    From
    what I understand,  I have to use the 2 counters, Ctr0 and Ctr1, to
    generate the TTL pulses that I desire, because the DIO lines are
    software timed only and I will not be able to produce a deterministic
    output period using these DIO lines.  Am I correct?    Also, do I have
    to use a separate counter to generate a separate TTL digital pulse.  I
    need 3 different TTL pulses and there are only 2 counters for this DAQ
    device.  The three generated TTL signals will be feed to an external
    circuit.  Concerning the hardware connections for my application, I
    assume that the generated TTL signals will be output from
    GPCTR0_OUT(pin 2)  for counter 0 and GPCTR1_OUT(pin 40) for counter 1
    of the NI 6034E. Is this correct?  Is there any way that these TTL
    signals can be output from three DIO lines(DIO0...2). 
    Here is some code that I plan to use in order to do this:
     #include <NIDAQmx.h>
    static TaskHandle gTaskHandle = 0;
    DAQmxCreateTask ("", &gTaskHandle);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr0", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 1.0, 2.0, 2.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr1", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 3.0, 4.0, 4.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "?????", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 7.0, 8.0, 8.0);
    DAQmxCfgImplicitTiming (gTaskHandle, DAQmx_Val_FiniteSamps, 5);
    DAQmxStartTask (gTaskHandle);
    DAQmxWaitUntilTaskDone(gTaskHandle)
    DAQmxErrChk DAQmxStopTask(gTaskHandle)
    DAQmxErrChk DAQmxClearTask(gTaskHandle)
    I believe this code should generate the 3 TTL square waveforms that I want for my application.
    Please provide me with some feedback.  It would greatly be appreciated.
    Thank You

     Hi,
    The NI 6034E is a multifuntion DAQ device, this means you have:
      (2) counters
      (8) DIO lines (software timed)
      (16) AI, single ended
      (0) Analog Output
     You have a couple choices here:
       1. Software timed digital output of all three signals, max 1khz loop rate, non-deterministic.
       2. Hardware timed digital output of 2 signals, max 20Mhz.
       3. Hardware timed digital output of 2 signals and software timed digital output of 1 signal.
       4. Find another NI MIO board such as the NI 6251. This board will do 10Mhz pattern generation for (8) DIO lines.
    For the hardware connection, you are correct, the output for the counters will be taken from pin 2 & pin 40.  Here's the pinout for the NI 6034E for reference:
    The output of the Counters can be routed to some of the PFI's or to the RTSI connector. You can see this in MAX
    Message Edited by Matthew W on 11-19-2007 01:24 PM
    Attachments:
    2007-11-19_131609.jpg ‏61 KB
    2007-11-19_132435.jpg ‏86 KB

  • How to process Panasonic's HDC-HS900 AVCHD Full HD 60 so that it outputs same Full HD 60p?

    How to edit Panasonic's HDC-HS900 AVCHD Full HD 60 using Premiere so that it outputs same Full HD 60p?

    Yes.PrPro takes 4k and above ... your footage isn't anything "special" that isn't used in it daily. Import it through the Media Browser ... being sure to import the ENTIRE contents & folder structure of the cards AS-IS. Then from the Project Panel, choose "New Item" from the icon lower right, drag & drop a clip onto it and accept the settings as it will automatically set the timeline settings for the footage.
    On export, choose same as source except of course for needing a different codec. So ... Ann's question still stands ... what are you/clients using it for? That will help choose the export codec.
    Neil

  • How to trigger a TTL output with an analog input

    Hello,
    I have an apparatus for measuring the flame speed of various hydrocarbon/air mixtures.  The chamber uses central ignition as the means for igniting the mixture.  My goal is to film the ignition process with a high speed Phantom video camera.  I control the ignition with an analog output signal from a SCC-68 DAQ.  I would like to trigger the camera with the same signal that triggers the ignition sequence.  The camera is triggered with one TTL pulse so ideally I would connect the output analog voltage signal to an input analog voltage port that would be used to trigger a counter output that generates one pulse.
    I have a sample VI that triggers a digital pulse each time the analog trigger level is met and it works for what I am trying to do but I do not understand how the two channels are connected. I also can't figure out how to make the VI end after just one pulse.  In the VI the digital counter is supposedly triggered using the /Dev1/ai/StartTrigger slot on the DAQ but nothing is connected to this slot.
    I need to first figure out how to make the output_pulses_on_sine_wave.vi terminate after a single pulse is generated. Then I can try to incorporate it into the VI that I use to control the ignition and measure the temperature and pressure once the mixture is ignited.
    John
    Attachments:
    output_pulses_on_sine_wave.vi ‏27 KB

    I am using the USB-6259, sorry for the confusion.  I would be nice if I could trigger with an analog signal to the ignition system but it is controlled with a high voltage relay that operates when 12 volts are supplied to it. It really isn't a trigger as much as powering on the high voltage relay. To control it, I have a 12 V supply line that is switched closed using a SCC-RLY module.  Could I somehow connect the 12 V supply to one of the buses and use a digital trigger to supply the 12V on command to the high voltage relay?
    Thanks for the quick response. 

  • Create 4 digital output pulses base on input ttl signal

    Hi
        I am a beginner in Labview and would appreciate any advice on how to solve the following problem.
    I am creating a TTL pulse train, and would like to send that into Labview as input.  For every falling edge detected on the input signal, I'd like Labview to generate 4 digital output pulses.  For each output pulse, I'd like to be able to specify the delay, and duration.       The picture should illustrate it more clearly, with the numbers showing the intended order of magnitude.
    System:  NI PCI-6733 DAQ card, Labview 8.5
    My daq card has 2 24-bit timers, and 8 digital I/O but I don't know what the best approach is for creating between 4-8 output pulses of this precision..should it be handled in hardware, or in software?  And how would I go about it
    Thanks,
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5
    Solved!
    Go to Solution.

     Hi Yann,
       Wow, thank you so much for this example!  I'm trying to take a look at it, but when I run it.. it responds with the following error message
    Error -200452 occurred at Property Node DAQmx Trigger (arg 1) in DAQmx Start Trigger (Digital Edge).vi:1->reprise-1.vi
    Possible reason(s):
    Measurements: Specified property is not supported by the device or is not applicable to the task.
    Property: Start.TrigType
    Task Name: _unnamedTask<49>
    This is strange too, because ive already used the Digital Edge Start trigger for a different application with this card.
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5

  • How can I stay on the same line  when inputting values in the CLI?

    The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
    Intro)
    I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
    Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
    Sample CLI output:
    bla application
    ***By: deAppel***
    Ver: 31/10/2007
    Your name:     deAppel
    Your class:     MasterClass
    How many sums you want to make? 14
    Time: 22:03:27
    1: 32 + 40 =     72
    2: 38 + 19 =     57
    3: 5 + 57 =     62
    4: 30 + 20 =     1
    5: 57 + 54 =     2
    6: 33 + 17 =     3
    7: 38 + 54 =     4
    8: 23 + 23 =     5
    9: 48 + 47 =     95
    10: 29 + 55 =     6
    11: 48 + 11 =     7
    12: 1 + 40 =     41
    13: 46 + 35 =     91
    14: 23 + 52 =     75
    Answer 1:      72     You answered:      72     (good)
    Answer 2:      57     You answered:      57     (good)
    Answer 3:      62     You answered:      62     (good)
    Answer 4:      50     You answered:      1     (wrong)
    Answer 5:      111     You answered:      2     (wrong)
    Answer 6:      50     You answered:      3     (wrong)
    Answer 7:      92     You answered:      4     (wrong)
    Answer 8:      46     You answered:      5     (wrong)
    Answer 9:      95     You answered:      95     (good)
    Answer 10:      84     You answered:      6     (wrong)
    Answer 11:      59     You answered:      7     (wrong)
    Answer 12:      41     You answered:      41     (good)
    Answer 13:      81     You answered:      91     (wrong)
    Answer 14:      75     You answered:      75     (good)
    EndTime: 22:04:18
    Total good: 6
    Total wrong: 8
    Total sums answered: 14
    Final score: 42.857143%
    Upload score? (yes/no): no
    Compare score from other users? (yes/no): no
    Want to try again? (yes/no): no
    ********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
    ************The application will close within 5 seconds*************
    To sum it up for those that don't like to read my post:
    1: 32 + 40 = 72
    2: 38 + 19 =
    whitespace <-- this happens because of the enter
    whitespace <-- this happens because of the enter
    57
    3: 5 + 57 = 62
    I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
    Hm.. i'll tried to solve it myself but it seems that im unable to do that.
    /me takes a quick coffee break and will look at the code again after that *

    paulcw wrote:
    It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks.

  • How to connect Digital Optical Audio output iMac with Receiver Input

    I have connected iMac with onkyo hts-3300 home theater system receiver through optical audio TosLink Cable.( http://www.amazon.com/Digital-Optical-Audio-TosLink-Cable/dp/B001ZU3G2I/ref=sr12?ie=UTF8&qid=1292865309&sr=8-2 ). Unfortunately there is no sound coming out from the Home theater system. I have verified the Receiver optical input is working fine by connecting with my TV optical audio digital out put and the it's working great. The only difference between TV and iMac is, on my TV, it has optical audio digital output and I can use this cable (http://www.amazon.com/Tripp-Lite-A102-02M-Digital-connectors/dp/B0002WPREU/ref=s r11?s=electronics&ie=UTF8&qid=1297320792&sr=1-1) to make it work. I can also verified my optical audio TosLink Cable working because I can see the red light coming out from the cable. So the only problem could be from iMac. I doubt I need to change the additional setting to configure iMac to use external optical audio setting instead of the buit in audio setting. Hoe can I able to do it? or my iMac(IMAC 21.5"/3.06/2X2GB/500GB/9400M-ITP
    MB950ZP/A) doesn't support optical digital audio out put? I have follow this thread http://discussions.apple.com/thread.jspa?messageID=12769423&#12769423 and to my surprise which doesn't work out for me. I doubt that i need to change some setting, but when I got to setting>> sound I cannot change any setting. I was quite depressed aldy. Can someone answer my question as i m a newbie here. Thanks a lot

    Thank you very much for your reply.
    @Király : May i know how to Open Audio Midi Setup? Is this Audio Midi Setup is in the locatated in the Setting in Mac Snow Leapord OS? or how to locate this "Audio Midi Setup " in Mac enviroment. Is it possible to open this Audio Midi Setup in windows 7 enviroment also? I Just want to get the audio from my iMac in Hts-3300 onkyo home theatre. YOur help is much appreciated
    @rkaufmann87 : Thank you very much for your sharing about this http://www.apple.com/airportexpress/ connection. for me what i understand is the digital audio output in airportexpress is the same as the audio out put in iMac in terms of details sepcs. So this airportexpress will only help you connect wirelessly to home theatre system, rather than waired connection. Other than that nothig much difference. So there is no point for me to spend extra bucks to attain the wireless connection. Unless the airportexpress have optical digital input, which i believe not. Correct me if I m worng, thanks

  • Is it save to use digital output as a digital input signal for another channel

    Hi all,
    I know this is a stupid question, but I do not have other signal generator by hand. So what I want to know is, can I use the digital output signal of my USB-6001 as an input signal for the same device but on other digital port? I did not try out directly because I do not want to burn the device down......
    Thanks
    Solved!
    Go to Solution.

    I do loop backs all the time, especially in my test systems as a way of making sure my signal is making it to the UUT pin.  I typically throw in a 10k resistor just in case, but I have never had an issue.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to output a TTL signal from a sine wave [Please Help]?

    Hi evryone!
    I am a bit lost...
    We make the acquisition of voltage (sine wave, 3Hz) which I simulated by a waveform generation in my VI. We want to convert this analog signal to a TTL and output it with a multifunction DAQ (6230).
    I only used Analog to Digital.vi and DAQmx write.vi and I can't get it to work... I get a TTL which is not 3Hz and only If I input a frequency like 3.07 and not 3.00 !!
    Did I forget something ?
    Thanks for helping
    Christophe
    Attachments:
    ADC.vi ‏26 KB

    In your vi, you don't have DAQmx Timing setup.  I don't know what the default value is.  But the timing determines how fast the DAQ will output values.  If not set correctly, you may see slight change in the output frequency.  Another thing is that the timing is based on a master clock, like 50MHz.  The clock gets divided down until it gets near the desired setting.  So it may not be able to achieve 3KHz exactly.  If you are getting 3.07KHz, this may be why.  I don't know if there is anything you can do about it.  Try using the timing vi and setting different sample rates.
    - tbob
    Inventor of the WORM Global

  • Output of Quad as input of Kalman filter

    I am attaching 2 codes; one is a Quad Detector VI and the other a Kalman filter VI. I want to know how can I make the output of Quad Detector as the input of Kalman Filter.
    Quad equations: X = [(B+D) - (A+C)] / A+B+C+D ; Y = [(A+B) - (C+D)] / A+B+C+D
    Kalman filter equation: Yn = Xn + a * Yn-1 where Xn is the input.
    Attachments:
    quad.vi ‏66 KB
    kalman2.vi ‏35 KB

    On the two vi's ... go the symbol in the upper right hand part of the screen which shows an icon for the vi.  Right click on it and select "show connector".  On the Quad Vi, click one of the right hand connector boxes and then click the output indicator on your Quad front panel.  On the other vi...do the same thing except connect one of the left hand connectors and then click on the control which inputs the input data for the vi.
    Then in the Quad vi...open the block diagram, and select add a vi from the bottom of the function palet...add the Kalman vi...
    right click on the Kalman vi...set the show as icon to off ... that will let you look at all of the i/o for the Kalman filter vi.  You should see your Quad input ...connect the dots and run...put whatever outputs you want on the Kalman front panel...put them in loops if you wish...but basically that I think is what you are trying to do.
    You could also add the Quad vi as a part of the Kalman filter block diagram...which might actually be a better idea.
    Hope that helps.

  • Outputting DVI to HDMI input in LCD TV versus using the DVI to RGB ?

    I am thinking of buying a mac mini to connect to a Toshiba 20HL85 TV in the lounge primarily to act as a "media server" and accessing Front Row for music, photo's, DVD watching etc. The question is which connection to use to go from the mini to the TV for Video (audio is fine as it will route into my AV Receiver)? The TV has an HDMI input, component video, s-video and a VGA port. The user manual for the TV says:
    Note: The HDMI jack is not intended for connection to and should not be used with a personal computer. For PC connection, use VGA cable and connect to the VGA port. The VGA port allows the following resolutions:
    Monitor Display modes:
    VGA 640x480 60Hz
    SVGA 800x600 56.3Hz
    SVGA 800x600 60.3Hz
    XGA 1024x768 60Hz
    WXGA 1280x720 60Hz
    WXGA 1280x768 60Hz
    I wanted to know a few things as I have no experience with the MAC mini and HDMI:
    1. Will I not get a better/crisper/sharper picture if I connect through a digital port like HDMI versus going through the VGA port?
    2. I have checked a few LCD TV's user manuals and they all seem to say the same thing i.e. "Do not connect a PC to the HDMI port" - I fail to understand this when the Apple site specifically says under "accessories for the MAC mini" that "HDMI is electrically similar to DVI, but has a different physical connector that may include an audio signal. You’ll need a DVI to HDMI adapter, such as the Belkin PureAV HDMI to DVI cable to use these televisions".
    3. What am I missing? Should I just go ahead and buy the DVI to HDMI cable and MAC mini and plug it in i.e. has anyone done this and had it work? Is it better than VGA (I would hope so)?
    Bottom line is does the MAC mini connect to any TV with an HDMI port or are there different types of HDMI ports and hence I need to search for the right TV first? If so, what must I look for? Thanks for any help I can get.
    Power Mac G5 Dual 2GHz   Mac OS X (10.4.5)  

    One word of advice. I just hooked up my mini to my 32" Lowe HD TV using a DVI to HDMI cable and it doesn't just work. The native resolution of the TV is not available for whatever reason so I have to bodge another resolution which looks terrible. When I plug my powerbook in via a DVI to VGA connector it just does work selecting the correct resolution automatically.
    Either the problem lies with the mini or with connecting to the HDMI socket. As the HDMI is simply a dvi with audio I can't see why it would cause problems but who knows. Given all the other problems I am currently having with the mini I am pointing the finger in that direction currently.

  • Output same Deski report as PDF and XLS

    Hello,
    will it be possible to generate (not schedule) a Deski - Report using Java SDK ?
    desired workflow:
    - generate/refresh the report to hold new data (User specific, Local specific)
    - output this report in Formats PDF and XLS
    - store the output - reports in Users inbox
    The goal is to generate the report only once and output the same twice - as pdf and as xls.
    As far as i saw in scheduling a report, it is only possible to produce one output (pdf or xls), if we need both, we have to schedule twice. And therefor we will have to generate the same report twice.
    I found somthing like
    binaryView = (BinaryView)documentInstance.getView(OutputFormatType.XLS);
    binaryView = (BinaryView)documentInstance.getView(OutputFormatType.PDF);
    in RBean for Webi - reports.
    Looking forward for any idea.
    Thanks in advance.
    Johannes
    Edited by: Johannes Kammerer on Sep 15, 2009 4:55 PM

    If you're on XI 3.x, then you can specify multi-format exports using Publications.
    Otherwise, you'd need to export to a file using REBean SDK, then Enterprise SDK to create a new InfoObject for that artifact.
    Sincerely,
    Ted Ueda

  • Help needed in mapping BI query output to use as input for BAPI

    Hi,
    After wrestling with it for quite some time I choose to ask yet another question here. I want to use the output of a BI query I use as input for a BAPI. I just can not get the mapping correctly:
    The query delivers: 104908BA092F7501F5E1008000829000AC
    I need: 104908BA092F7501F5E1008000829000AC
    How can I lose the two first digits? Thanks in advance!
    Best regards,
    Jan

    Nevermind. I found out myself. I am now using the statement MID(@GUID,2,32) in the connection.

Maybe you are looking for