Adapt to TypeUse Adapt to Type to pass arbitrary LabVIEW data types to dịch - Adapt to TypeUse Adapt to Type to pass arbitrary LabVIEW data types to Việt làm thế nào để nói

Adapt to TypeUse Adapt to Type to p

Adapt to Type
Use Adapt to Type to pass arbitrary LabVIEW data types to DLLs in the following ways:

Scalars are passed by reference. A pointer to the scalar is passed to the library.
Arrays and strings are passed according to the Data Format setting. You can choose from the following Data Format settings:
Handles by Value passes the handle to the library. The handle is not NULL.
Pointers to Handles passes a pointer to the handle to the library. If the handle is NULL, treat the handle as an empty string or array. To set a value when the handle is NULL, you must allocate a new handle.
Array Data Pointer passes a pointer to the first element of the array, allowing the called library to access the array data as the data type of the array data.
Interface to Data allows you to inspect LabVIEW data and data type information in C++ code. For more information about this setting, refer to the ILVDataInterface.idl and ILVTypeInterface.idl files in the labviewcintools directory.
Clusters are passed by reference.
Scalar elements in arrays or clusters are in line. For example, a cluster containing a numeric is passed as a pointer to a structure containing a numeric.
Clusters within arrays are in line.
Strings and arrays within clusters are referenced by a handle.
Note When one or more of the parameters of the function you want to call in a DLL are of types that do not exist in LabVIEW, ensure that each parameter is passed to the function in a way that allows the DLL to correctly interpret the data. Create a skeleton.c file from the current configuration of the Call Library Function Node. By viewing the .c file, you can determine whether LabVIEW will pass the data in a manner compatible with the DLL function. You then can make any necessary adjustments.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Adapt to TypeUse Adapt to Type to pass arbitrary LabVIEW data types to DLLs in the following ways:Scalars are passed by reference. A pointer to the scalar is passed to the library. Arrays and strings are passed according to the Data Format setting. You can choose from the following Data Format settings: Handles by Value passes the handle to the library. The handle is not NULL. Pointers to Handles passes a pointer to the handle to the library. If the handle is NULL, treat the handle as an empty string or array. To set a value when the handle is NULL, you must allocate a new handle. Array Data Pointer passes a pointer to the first element of the array, allowing the called library to access the array data as the data type of the array data. Interface to Data allows you to inspect LabVIEW data and data type information in C++ code. For more information about this setting, refer to the ILVDataInterface.idl and ILVTypeInterface.idl files in the labviewcintools directory. Clusters are passed by reference. Scalar elements in arrays or clusters are in line. For example, a cluster containing a numeric is passed as a pointer to a structure containing a numeric. Clusters within arrays are in line. Strings and arrays within clusters are referenced by a handle. Note When one or more of the parameters of the function you want to call in a DLL are of types that do not exist in LabVIEW, ensure that each parameter is passed to the function in a way that allows the DLL to correctly interpret the data. Create a skeleton.c file from the current configuration of the Call Library Function Node. By viewing the .c file, you can determine whether LabVIEW will pass the data in a manner compatible with the DLL function. You then can make any necessary adjustments.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Thích ứng với Gõ
Sử dụng thích ứng với Nhập để vượt qua tùy ý các kiểu dữ liệu LabVIEW DLL trong các cách sau: vô hướng được thông qua tham khảo. Một con trỏ hàm vô hướng được chuyển đến thư viện. Mảng và chuỗi được thông qua theo các thiết lập định dạng dữ liệu. Bạn có thể lựa chọn các thiết lập định dạng dữ liệu sau đây: Handles bằng giá trị vượt qua xử lý vào thư viện. Việc xử lý không phải là NULL. Con trỏ tới Handles chuyển một con trỏ vào tay cầm vào thư viện. Nếu xử lý là NULL, đối xử với các xử lý như là một chuỗi rỗng hoặc mảng. Để đặt một giá trị khi xử lý là NULL, bạn phải phân bổ một xử lý mới. Mảng dữ liệu Pointer chuyển một con trỏ tới phần tử đầu tiên của mảng, cho phép các thư viện được gọi để truy cập dữ liệu mảng như kiểu dữ liệu của mảng dữ liệu. Giao diện để dữ liệu cho phép bạn kiểm tra dữ liệu LabVIEW và kiểu dữ liệu thông tin trong C ++ code. Để biết thêm thông tin về các thiết lập này, hãy tham khảo các tập tin ILVDataInterface.idl và ILVTypeInterface.idl trong thư mục labview cintools. Clusters được thông qua tham khảo. yếu tố vô hướng trong mảng hoặc cụm phù. Ví dụ, một cụm có chứa một số được thông qua như là một con trỏ đến một cấu trúc có chứa một số. Clusters trong mảng là phù. Strings và mảng trong cụm được tham chiếu bởi một tay cầm. Lưu ý Khi một hoặc nhiều tham số của hàm bạn muốn gọi trong một DLL là các loại không tồn tại trong LabVIEW, đảm bảo rằng mỗi tham số được truyền cho các chức năng trong một cách mà cho phép các DLL để giải thích một cách chính xác các dữ liệu. Tạo một tập tin skeleton.c từ cấu hình hiện tại của chức năng Node Gọi Library. Bằng cách xem file .c, bạn có thể xác định liệu LabVIEW sẽ vượt qua các dữ liệu một cách tương thích với các chức năng DLL. Sau đó bạn có thể thực hiện bất kỳ điều chỉnh cần thiết.












đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: