How do I use the WriteToMemoryXX functions in a CIN?

I'm getting a linker error "unresolved external reference _WriteToMemory16" when I compile the C code that contains the calls to the WriteToMemory16 function. I've installed the accesshw files and am including the accesshw.h file in my C-code CIN. It would seem that I need to compile-in the code for the WriteToMemory function, which I assume resides in accesshw.c.
My application calls for some direct hardware i/o that falls in the "too messy to do in a block diagram" catagory. I'm using Labview 5.1.1 and talking to a Keithley Metrabyte PIO-96 card.
Thanks very much for any assistance.

Ben,
Thank you for the response. I looked at the examples you mentioned, but unfortunately I'm still unsure what to do. As mentioned, I downloaded the accesshw.zip file and installed the files in order for me to use InPort and OutPort VIs in my program on an NT box, which I'm doing and is working fine. Also, I downloaded the example, "PCI-DIO using AccessHW_DLL.c". This C file contains calls just like the ones I want to use (calls to WriteToMemoryXX) in my CIN C code to basically do the same operations as are done by the InPort and OutPort VIs. Is there a makefile available for that C file? Maybe if I knew how to build that file into a CIN, it would be the same process for me to build my file into a CIN. There is an include file in the "PCI-DIO using AccessH
W_DLL.c" file that I don't have (ansi_c.h), but I don't get a compiler error when not including this file in my C file so
I assume I don't need it. I've got the accesshw.dll file in the same directory as my .c file, as instructed to do on the accesshw.zip download page.
I'm developing the CIN using MSVC++ 4.0 if that helps.
Thanks very much,
Jeff

Similar Messages

  • How can I use the scan function of Kyocera Printer FS-1020 MFP on MAC? OS X 10.6.8?

    Print function is normal, but I don't know how to use the SCAN function. Is there any specific setting to do to activate the scanner function?

    Try Applications/Image Capture to see if you can scan.

  • How do I use the print function to output a numeric variable with a fixed amount of leading zeroes

    I need to create an output from a T-SQL query that picks a numeric variable and uses the print function to output with leading zeroes if it is less than three characters long when converted to string.  For example if the variable is 12 the output should
    be 012 and if the variable is 3 the output should be 003.
    Presently the syntax I am using is PRINT STR(@CLUSTER,3) .  But if @CLUSTER which is numeric is less than three characters I get spaces in front.
    Please help!

    >> I need to create an output from a T-SQL query .. <<
    NO! NO! In RDBMS, we have a presentation layer that handles displays. We do not ever do it in the database. This is fundamental. But more than that, the purpose of PRINT is for debugging in T-SQL and never for output.
    You are still writing 1960's COBOL or BASIC, but you want to to it in SQL.  You probably picked the wrong data type (a numeric that should be a string) and are trying to repair your design error.  
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How can I use the "EvalScript()" function? I am trying to send text to a Director app from the web browser, but the console in the browser just responds "Uncaught ReferenceError: evalScript is not defined ".

    I am trying to control a Shockwave app form another machine, using "Pusher" service (websockets), and everything is ok so far; but when I try to send the shockwave app the text recieved from another machine, using the "EvalScript()" function (as documented), I only get the message "Uncaught ReferenceError: evalScript is not defined" in the browser's console. What am I doing wrong?
    'm using the following script in the webpage where the shockwave object is located:
      <script type="text/javascript">
        // Enable pusher logging - don't include this in production
        Pusher.log = function(message) {
          if (window.console && window.console.log) {
            window.console.log(message);
        var pusher = new Pusher('abc963cf3e6g678879e');
        var channel = pusher.subscribe('Galileo_channel');
        channel.bind('Galileo_event', function(data) {
          evalScript(data.message);
      alert(data.message);
      </script>
    The "alert" is working fine, but I can't get JavaScript to recognize the EvalScript (I even tried calling the shockwave object, ie: "extev01.evalScript()", since the object's ID is extev01, but it doesn't work, either).
    Help!

    Thanks Sean.
    I tried your suggestion first, using getNetText to poll the server and read a text file. The drawbak is that I had to poll the server constantly, since I could not know in advance when the text file was going to change (and it's not practical to stump the server and connection).
    I've kept trying the EvalScript, asigning the Shockwave object to a variable first, then calling the EvalScript() in the object, but it doesn't work, either. I think I will simply use JavaScript and forget about shockwave altogether, since everything is working fine up to that point (although it would be nice to be able to use Lingo for the rest of the app).

  • How do I use the TRIM function in my Query?

    I have a field that has called AP.service_user_defined_1 that houses a Code the code is like Alpha Num ie "AA01" then it has about 30 to 40 whites spaces and then the description of what the code means. I need to have the description to show in my report I don't necessarily need the code but I do need the description I tried putting the TRIM Function in as below and it will not work what do I need to do to correct this?? I need help ASAP this is due today! Thanks for any help!
    SELECT DISTINCT
              A1.AUTH_NUMBER,
    PM.LAST_NAME,
              A1.AUTH_TYPE,
              A1.PLACE_OF_SERVICE,
              A1.OVERALL_STATUS,
              A1.CLOSED_REASON,
              A1.DENIED_REASON,
    Case
    when A1.DENIED_REASON in ('HS001','HS002') then 'MED NECESS'
    when A1.DENIED_REASON in ('HS004','HS005','HS006','HS007','HS008','HS013','HS014','HS016','HS017','HS019','HS020') then 'Admin Denial'
    when A1.DENIED_REASON is NUll and ap.advisor_decision = 'AAPPR' then 'Approved'
    else 'Unknown'
    end DENIED,
    A1.admit_primary_date,
    A1.service_admit_type AS "IP ADMIT TYPE",
    A1.service_user_defined_1 AS "OP Serv Type",
    Trim (leading ('AA01                 ',)from dual,
    ap.contact_date,
    AP.decision_date,
    AP.ADVISOR_DECISION,
    PM.PROVIDER_ID,
         A1.INSERT_DATETIME,
    TO_CHAR (A1.insert_datetime,'MONTH-YY')AS "Month",
    A1.admit_primary_date,
              A1.ACTIVE_PHYSICIAN_ADVISOR,
              MV.LINE_OF_BUSINESS
    FROM Windsoradm.auth_master a1
    INNER JOIN Windsoradm.auth_phys_advisor ap
    ON a1.auth_number=ap.auth_number
    INNER JOIN windsoradm.prov_master pm
    ON ap.seq_prov_id=pm.seq_prov_id
    LEFT JOIN windsoradm.note_master nm
    ON nm.seq_memb_id=a1.seq_memb_id
    INNER JOIN windsoradm.member_mv mv
    ON mv.seq_memb_id=a1.seq_memb_id
    Where mv.Line_of_Business <>'SFS'
    /*AND A1.PLACE_OF_SERVICE IN ('11','21','22','24')*/
    /*AND a1.active_physician_advisor = 'Y'*/
    /*AND (a1.closed_reason ='A06' OR a1.closed_reason is Null)*/
    AND a1.insert_datetime Between To_Date ('04/01/2012', 'MM/DD/YYYY') and To_Date ('04/30/2012','MM/DD/YYYY')
    ORDER BY 1

    I don't know how to use this within my query I put it in as you suggest and get an error: I'm new to these functions can you show me how within my query I should code it? The field Name is A1.service_user_defined_1 There are about 50 Different Codes in a Drop down list within the application that have a different Code and Different Description it appears that the Codes are all 4 character alpha numeric then about 25 to 45 spaces and then the description. Please show me in my code how to get this I wish there was a table I could link to that housed both code and description but who ever created this did not make life easy. Thanks (I also tried the TRIM but could not get it to work ) I know it is because I do not know how to put it within my code to make it work.
    SELECT DISTINCT
              A1.AUTH_NUMBER,
    PM.LAST_NAME,
              A1.AUTH_TYPE,
              A1.PLACE_OF_SERVICE,
              A1.OVERALL_STATUS,
              A1.CLOSED_REASON,
              A1.DENIED_REASON,
    Case
    when A1.DENIED_REASON in ('HS001','HS002') then 'MED NECESS'
    when A1.DENIED_REASON in ('HS004','HS005','HS006','HS007','HS008','HS013','HS014','HS016','HS017','HS019','HS020') then 'Admin Denial'
    when A1.DENIED_REASON is NUll and ap.advisor_decision = 'AAPPR' then 'Approved'
    else 'Unknown'
    end DENIED,
    A1.admit_primary_date,
    A1.service_admit_type AS "IP ADMIT TYPE",
    A1.service_user_defined_1 AS "OP Serv Type",
    regexp_replace('AA01 Behavioral/Mental Health Service', '^[^ ]+ +')from dual,
    ap.contact_date,
         AP.decision_date,
         AP.ADVISOR_DECISION,
              PM.PROVIDER_ID,
         A1.INSERT_DATETIME,
    TO_CHAR (A1.insert_datetime,'MONTH-YY')AS "Month",
    A1.admit_primary_date,
              A1.ACTIVE_PHYSICIAN_ADVISOR,
              MV.LINE_OF_BUSINESS
    FROM Windsoradm.auth_master a1
    INNER JOIN Windsoradm.auth_phys_advisor ap
    ON a1.auth_number=ap.auth_number
    INNER JOIN windsoradm.prov_master pm
    ON ap.seq_prov_id=pm.seq_prov_id
    LEFT JOIN windsoradm.note_master nm
    ON nm.seq_memb_id=a1.seq_memb_id
    INNER JOIN windsoradm.member_mv mv
    ON mv.seq_memb_id=a1.seq_memb_id
    Where mv.Line_of_Business <>'SFS'
    /*AND A1.PLACE_OF_SERVICE IN ('11','21','22','24')*/
    /*AND a1.active_physician_advisor = 'Y'*/
    /*AND (a1.closed_reason ='A06' OR a1.closed_reason is Null)*/
    AND a1.insert_datetime Between To_Date ('04/01/2012', 'MM/DD/YYYY') and To_Date ('04/30/2012','MM/DD/YYYY')
    ORDER BY 1

  • How can i use the jvmti function GetLocalVariable

    can I get the example of using GetLocalVariable?
    (GetLocalObject, GetLocalInt, GetLocalFloat, GetLocalDouble)
    and if get the Value of Object, how can i print the object?
    last, in the java program, can i call the function of jvmti agent?
    I'm studying the exmaple of mtrace(demo of jvmti), I can understand how the jvmti agent works. expecially mtrace.java part. how it can connects java program and jvmti agent.
    if anyone know please let me know. thank you.

    Sorry for the slow reply, this wasn't a posting area I normally look for.
    First you need to use GetLocalVariableTable for a given method. That gives you the variable name to slot mapping (slot is kinda like an offset in the stack for an active stack frame). Then you can use GetLocalVariable to get a value, but you need to know which frame (depth), the topmost or active frame would be 0, and you need to know what thread, thread==NULL means the current thread. You'll need to parse the signature of the variable to know what it's type is and size is before you'd be able to make sense out of the value you get back, which I think is a union of all possible values.
    Hope this helps.
    -kto

  • How do I use the message function to text?

    I Want to text from my Ipad. What are the steps? Must the recipient have an Apple device?

    Messages on an iPad will use the iMessage servicve from apple. So your recipients qwill need to have an Apple Devce, and have configured iMessages. And you must have the address they set up messages with to message them.

  • How can i use the Ratio_to_report function in obiee

    Hi,
    I have to use ratio_to_report function to create the report.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions124.htm.
    this is the link which explains the usage of this function.This function computes the ratio of a value to the sum of a set of values.How can i achieve this in BI
    Please help me
    Thanks,
    saichand

    Hi Sai,
    One more approach is:
    Use pivot and duplicate the measure in Measures block.
    For Duplicated Measure, go to More Options > Show Data As > Index of > Column
    Even it serves the same purpose...
    Hope you got my point... :)

  • How do I use the copy function in microsoft outlook email?, How do I use the copy function in microsoft outlook email?

    I can get into my Microsoft Outlook email on my Ipad2.  It will not allow me to copy parts of the email to paste into a program called Papermate that I use for my blog.  Can this be done?

    I've copied and pasted between programs. You hold your finger down in the text window or over the text until a little balloon pops up to copy or select all. You will also see two little blue dots, those are 'handles' that you can use to expand the selection box. Select what you want then choose copy
    I've then gone into another program, held down my finger in the text box to bring up the 'paste' option and the text transfers

  • How to use the scan function on a 4215i all in one printer

    How do I use the scan function on this printer with windows 8. I did the installation but the scan function does not seem to wwork 
    This question was solved.
    View Solution.

    Do you have the Officejet 4215 series All-in-One printer?
    If so, then there is no full feature driver for the printer.  The printer is installed using the Windows Update menu of the print drivers.  For information about using the Windows Update driver click here.
    Do you have this printer connected via USB?  If so, then there are workaround methods to get the printer to scan, as the old software package is not available on Windows 8.  In the document linked above, scroll down to the section on how to scan with the Update driver to find information on how to perform these types of scans.  Hope this helps.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How Do I Use the TCallback parameter in ibnotify for Delphi in dpib32.pas​?

    I'm having some troubles. I've been using the dpib32.pas library for at least 2 years now with no troubles. Now I need to handle some oddball stuff using Async Callbacks. I've referred to App Note 100 and am 98% there... I just can't figure out how to properly use the TCallback function in ibnotify. Any clues?
    First thought was to add a function matching the TCallBack function...
    function TfrmMain.IBCallBack(ud : integer;LocalIbsta : integer;LocalIberr : integer;LocalIbcntl : Longint;var RefData): integer; stdcall;
    then use it as a the parameter in ibnotify...
    ibnotify(Dev,RQS,@IBCallback,NULL);
    All this gives me is a 'variable required' message on compilation.

    Never mind. I dug around in my code archives and found the proper methid for implementing the callback.

  • Using the ssIncludeXml function in Site Studio 10gR4

    Since the managed data file format has changed dramatically in Site Studio 10gR4, how do I still use ssIncludeXml to extract a particular element?
    For example, a data file in Site Studio 10gR3 looks similar to this:
    <region1>
    <PageBody>
    </PageBody>
    </region1>
    To extract the "PageBody" element I would use the ssIncludeXml function like this:
    ssIncludeXml(dDocName,"region1/PageBody/node()")
    In Site Studio 10gR4 a typical data file format looks like this:
    <wcm:root>
    <wcm:element name="PageBody">
    </wcm:element>
    </wcm:root>
    How do I use the ssIncludeXml function to match the "PageBody" here?
    Thanks!

    I'm trying to do this in Site Studio 11g and am having zero luck. I have an HCSP in Site Studio [which I am using to write XML] that is querying the system and returning a set of XML data files. In my HSCP, I have
    <link><!--$$ssIncludeXml(dDocName, "wcm:root/wcm:element\[@name='url'\]/text()")--></link>
    The XML documents' format is
    <wcm:root version="8.0.0.0">
    <wcm:element name="metadata"/>
    <wcm:element name="url">http://www.cnn.com</wcm:element>
    <wcm:element name="thumbnail"><img src="/cs/groups/internal/documents/digitalmedia/mdaw/mdex/~edisp/cf_12_831_ivolunteers_3_.jpg" alt="ivolunteers" /></wcm:element>
    <wcm:element name="text">This is my link text</wcm:element></wcm:root>
    When I run this, however, I get nothing returned (no errors either).
    Frustration! :) Any ideas?

  • How to use the Table Function defined  in package in OWB?

    Hi,
    I defined a table function in a package. I am trying to use that in owb using Table function operator. But I came to know that, owb R1 supports only standalone table functions.
    Is there any other way to use the table function defined in a package. As like we create synonyms for functions, is there any other way to do this.
    I tryed to create synonyms, it is created. But it is showing compilation error. Finally I found that, we can't create synonyms for functions which are defined in packages.
    Any one can explain it, how to resolve this problem.
    Thank you,
    Regards
    Gowtham Sen.

    Hi Marcos,
    Thank you for reply.
    OWB R1 supports stand alone table functions. Here what I mean is, the table fucntion which is not inculded in any package is a stand alone table function.
    for example say sample_tbl_fn is a table function. It is defined as a function.It is a stand alone function. We call this fucntion as "samp_tbl_fn()";
    For exampe say sample_pkg is a package. say a function is defined in a package.
    then we call that function as sample_pkg.functionname(); This is not a stand alone function.
    I hope you understand it.
    owb supports stand alone functions.
    Here I would like to know, is there any other way to use the functions which are defined in package. While I am trying to use those functions (which are defined in package -- giving the name as packagename.functionname) it is throwing an error "Invalid object name."
    Here I would like know, is there any other way to use the table functions which are defined in a package.
    Thank you,
    Regards,
    Gowtham Sen.

  • Does anyone know how to use the bcc functionality for apple mail while accessing it on the cloud from my PC?

    I am currently away from my MAC and want to send an email through apple mail with the bcc functionality.  I am using the cloud to get to my mail, however, I can't figure out how to use the BCC functionality, please help.  Thanks!

    Open your mail,
    lower left corner click on settings,
    go to composing and check BCC, save and your done

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

Maybe you are looking for

  • No scanner found in HP printer software

    Hi all: I've connected an HP psc2210 all-in-one printer to my Mac Pro running 10.6.8. The computer recognized the printer after I connected the USB cable. However, when I open the scanner pane, the section is grayed out, and I get a "no scanner selec

  • MP3 Length & Detect End Of Song

    Hi, I am using JMF to play mp3's I would like to know how I can tell how long the mp3 file is in seconds and also, how can I tell/be notified when the mp3 has finished? Thanks Mike

  • Family Share dilemma

    Hello! I Downloaded a movie on to my iPhone 6 from another family members iTunes using family share. The movie will not appear in my iCloud movies so that I can watch it on my Apple TV. I tried syncing my iPhone to my Mac and I still run into the sam

  • Creating Authorization groups for material types

    Hi All, I have a requirement to create Authorization groups for different material types we have in our company. Basically these are intended to restric the users from accessing the material master. Different material types needs to be assigned to di

  • Airport won't connect with WEP active

    I have a Netgear router (the one Sky issue that everyone seems to have) and my Mac Mini refuses to connect to it when I enable WEP security, even when I select 'Other' from the Airport menu and input the WEP key. I have to turn off WEP to be able to